[eluser]bkarat[/eluser]
Hi !
I am facing a problem while sending mails through gmail. The settings used in email.php is given below. I have similar setting on a XP machine and from there I am able to send mails.
$config['protocol']= "smtp";
$config['charset']= "iso-8859-1";
$config['smtp_host'] = 'ssl://smtp.gmail.com';
$config['smtp_user']= 'my mail id';
$config['smtp_pass'] = 'my password';
$config['wordwrap']= "TRUE";
$config['smtp_port']= "465";
$config['mailtype']= "html";
$config['newline']= "\r\n";
$config['crlf']= "\r\n";
The error msg I am getting is:
Message: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?)
In php.ini, openssl is enabled. Could it be a problem with my machine or with the 'Win 7 Home Basic' I am using?
Please help.
Regards,
Bala