Send emails through CI Email library |
[eluser]Unknown[/eluser]
Hello...I'm developing a system wich has to send emails to notify something to someone.. I'm using XAMP server and the CI Email library.... here is the code for my controller... Code: function email(){ I'm using QK SMTP SERVER When I test test my php function whith the server off, I get this message... Message: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() Filename: libraries/Email.php Line Number: 1444 when I test de function whit the server running, the view shows me "Message was sent successfully!" BUT, the QK SMTP SERVER console shows me that the emails are in queue and they never sent!! HOW CAN I FIX THAT PROBLEM!!!??? :vampire: I really hope someone can help me Thanks for your time!! ;-)
[eluser]2think[/eluser]
From my experience, the Codeigniter SMTP sending library works well. You also need to set your Port when using the library since it seems that this server runs on localhost.
[eluser]Unknown[/eluser]
Hello.... Siddhesh: I change the priority to 1 (maximum priority) and I still getting the same error 2Think: I've already put port 25. The QK SMTP SERVER log shows me the next... Message from <[email protected]> TO: <[email protected]> directly fail! Connect fail: Socket error #10060 Connection timed out. Wait for retry.. any idea what's happening? Thanks for your help!! ;-)
[eluser]LuckyFella73[/eluser]
You mailserver settings seem to be wrong. Paste your error message at google.com - there are a couple of guys having the same (or simular) problem. Site note: better don't post your real email address in plain text here ![]() spam spam ... |
Welcome Guest, Not a member yet? Register Sign In |