Problem sending an email |
[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!
[eluser]Noobigniter[/eluser]
What are the system of "mailtype" in your config? bg: Code: $config['mailtype'] = 'html';
[eluser]johnpeace[/eluser]
Code: $this->CI->load->view('mail/mail_view.php'... I've never seen the .php on a view load before...
[eluser]Estu[/eluser]
I've checked what you said, and I'm still receiving the same. Thanks
[eluser]InsiteFX[/eluser]
As johnpeace said remove the .php off the end of your Code: $this->CI->load->view('mail/mail_view');
[eluser]Estu[/eluser]
I've already done that.. the result is the same.. Thanks for your response
[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. |
Welcome Guest, Not a member yet? Register Sign In |