Email Not Sending (SMTP) |
[eluser]Spir[/eluser]
And by the way if I put Code: $this->load->library('email', $config);
[eluser]nigwoko[/eluser]
Thanks Spir!. Adding '$this->email->set_newline("\r\n");' did the trick.
[eluser]brookerrj[/eluser]
Spir: I know this is quite a time later but I had the same issue. I believe that the real cause is using single quotes around the \r\n. Using PHP double quotes evaluate variables and control characters (e.g. \n or \r), whereas single quotes do not. Where you are setting up the config array you are using single quotes: Code: $config['crlf'] = '\r\n'; It should be double quotes: Code: $config['crlf'] = "\r\n";
[eluser]Unknown[/eluser]
Hello... Today after research so mucho and spend all the day... I'm hosting with justhost, and It's seem that the hosting make you to write the mail with a valid mail from the domain... check the way to config a client from your mail server and that's it my domain is xinerk.net $config['protocol']='smtp'; $config['smtp_host']='mail.xinerk.net'; $config['smtp_port']='26'; $config['smtp_user']='[email protected]'; $config['smtp_pass']='L1fq...'; $config['validate'] = 'false'; $config['wordwrap'] = TRUE; $config['mailtype']="html"; $config['charset']='utf-8'; $config['newline']="\r\n"; $config['alt_message']="Mensaje de SiSP"; $config['crlf'] = "\r\n"; $config['newline'] = "\r\n"; $config['smtp_timeout']='30'; |
Welcome Guest, Not a member yet? Register Sign In |