Email Error - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Email Error (/showthread.php?tid=29059) |
Email Error - El Forum - 03-29-2010 [eluser]Unknown[/eluser] I am trying to send an email using CI and am getting the "Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method." error. The output of print_debugger is Code: 220 mail.wlnetguard.co.uk ESMTP Merak 8.5.0-8; Mon, 29 Mar 2010 16:24:23 +0100 I have used telnet on the server that hosts the site to connect to the mail server and encountered no problems. I have been looking through the code and it seems like it is line "$reply = $this->_get_smtp_data();" in system/library/Email.php isn't returning any text and causing the mail not to send. Can any one shed some light on this problem for me please? I have spent most of the day on this and can't figure it out for the life of me. Thanks Email Error - El Forum - 03-29-2010 [eluser]2think[/eluser] Post the controller code you're using to send the email |