Email class Auth Problem |
[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
[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);
[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
[eluser]tatacarrera[/eluser]
I've changed the: $config['protocol'] = "smtp"; to: $config['protocol'] = "sendmail"; and now it work's
[eluser]Unknown[/eluser]
Thanks Tatacarrera, that seems to have solved my issue also. |
Welcome Guest, Not a member yet? Register Sign In |