![]() |
Problem sending an email - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Problem sending an email (/showthread.php?tid=49979) |
Problem sending an email - El Forum - 03-09-2012 [eluser]Estu[/eluser] Hi folks, I have a problem sending an html email. This was working right, but now this is sent in the email instead of the html: Quote:Content-Transfer-Encoding: BASE64 Is larger than that. This is the code im using, the email is send through a library: Code: $this->CI->email->from("[email protected]","No Contestar"); Thanks in advance! Problem sending an email - El Forum - 03-09-2012 [eluser]Noobigniter[/eluser] What are the system of "mailtype" in your config? bg: Code: $config['mailtype'] = 'html'; Problem sending an email - El Forum - 03-09-2012 [eluser]johnpeace[/eluser] Code: $this->CI->load->view('mail/mail_view.php'... I've never seen the .php on a view load before... Problem sending an email - El Forum - 03-11-2012 [eluser]Estu[/eluser] I've checked what you said, and I'm still receiving the same. Thanks Problem sending an email - El Forum - 03-12-2012 [eluser]InsiteFX[/eluser] As johnpeace said remove the .php off the end of your Code: $this->CI->load->view('mail/mail_view'); Problem sending an email - El Forum - 03-12-2012 [eluser]Estu[/eluser] I've already done that.. the result is the same.. Thanks for your response Problem sending an email - El Forum - 03-12-2012 [eluser]Matalina[/eluser] Code: $this->CI->email->message($this->CI->load->view('mail/mail_view.php',array('hash' => $this->CI->session->userdata('activation_hash')),TRUE)); What is your hash doing? It looks like it's only returning an encrypted piece of information. |