can't send messages with SMTP config |
Hello , I know that there are several topics posted about smtp but my problem is a little different. The normal email works fine but when I change the config smtp CI_Email in the mail sends no longer works. As against it only works with SMTP my ISP to the Internet. Thank you in advance.
Some ISP block all trafic on port 25 (SMTP) to recude the amount of spam that is being send from within their network. You are then forced to use the SMTP server of your ISP or connect to an alternative mailserver on a different port (465 or 587).
Thanks for your help !
Actually, i use this configuration in the CI_email class (which is right regarding to the values...) : PHP Code: var $useragent = "CodeIgniter"; I set : PHP Code: echo $this->email->print_debugger(); ... but unfortunately i can't see any relevant information in the logs :-( Thanks again for your help :-)
Just exit after the print debugger line. It's output is not logged so you will not see anything there
PHP Code: echo $this->email->print_debugger();
Hello,
We can see these errors in the debug log : Quote:220 vps59995.ovh.net ESMTP Postfix Please could you have any idea to solve this issue ? How can we configure STARTTLS into the CI_email class... THANKS A LOT FOR YOUR HELP
(11-30-2015, 05:38 AM)juniorJoel Wrote: Thanks for your help ! Hi, Make sure that your newline is "\r\n" $newline = "\r\n" ; only \r or only \n will not work and might cause problems. so use "\r\n" to comply with RFC 822. |
Welcome Guest, Not a member yet? Register Sign In |