![]() |
Email class Auth Problem - 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: Email class Auth Problem (/showthread.php?tid=25884) |
Email class Auth Problem - El Forum - 12-29-2009 [eluser]The Casual Bot[/eluser] Im trying to send smtp email via CI email Class this keeps failing i spoke to myy host about the smtp server(authsmtp.com) and they can telnet from there end i so can i i spoke to authsmtp and they said they haven't blocked my servers ip i read on the CI forum Here about some over peeps issues and tried there fixes for them but nothing seems to have worked at first i was getting the following error Code: The following SMTP error was encountered: 0 Success so i changed my config from Code: $config['protocol'] = 'smtp'; to Code: $config['protocol'] = "smtp"; and now i get Code: The following SMTP error was encountered: 111 Connection refused and heres my code PS. i have load this class in the constructor Code: //set up email ready for sending Thanks for any help guys'n'girls Email class Auth Problem - El Forum - 02-09-2011 [eluser]Unknown[/eluser] same here Email class Auth Problem - El Forum - 02-27-2011 [eluser]Unknown[/eluser] I'm experiencing the exact same thing. I did see in an earlier thread to remove the "initialize" line and instead use this when calling the library. Code: $this->load->library('email', $config); Email class Auth Problem - El Forum - 05-01-2011 [eluser]tatacarrera[/eluser] exactly the same problem for me Email class Auth Problem - El Forum - 05-01-2011 [eluser]InsiteFX[/eluser] I have posted a whole article on this on the forums here, do a forum search on emial! But to get you started you need to setup your smtp parameters in php.ini InsiteFX Email class Auth Problem - El Forum - 05-06-2011 [eluser]tatacarrera[/eluser] I've changed the: $config['protocol'] = "smtp"; to: $config['protocol'] = "sendmail"; and now it work's Email class Auth Problem - El Forum - 06-02-2011 [eluser]Unknown[/eluser] Thanks Tatacarrera, that seems to have solved my issue also. |