I have seen a lot of other people had this issue.
I have setup an email form using the Google Mail server to send the email. This worked on my local machine, but once i put it on the server i get this error
The following SMTP error was encountered: 110 Connection timed out
Unable to send data: AUTH LOGIN
Failed to send AUTH LOGIN command. Error:
Unable to send data: MAIL FROM:
from:
The following SMTP error was encountered:
Unable to send data: RCPT TO:
to:
The following SMTP error was encountered:
Unable to send data: DATA
data:
The following SMTP error was encountered:
Unable to send data: User-Agent: CodeIgniter Date: Thu, 2 Feb 2012 14:24:43 +0000
Here is the setup i have in CI
$config = array (
'smtp_host' => 'ssl://smtp.googlemail.com',
'smtp_user' => 'emial',
'smtp_pass' => 'password',
'smtp_port' => '465',
'protocol' => 'smtp',
'charset' => 'utf-8',
'mailtype' => 'html',
'wordwrap' => TRUE
);
I have tried using both port465 and 587, and both ssl://smtp.googlemail.com and tls://smtp.googlemail.com
Any help getting this working would be great.