[eluser]bkarat[/eluser]
Hi !
I have a problem in sending mails through gmail. The seetings in email.php are given below. Similar code works in a XP machine without any problem.
$config['protocol']= "smtp";
$config['charset']= "iso-8859-1";
$config['smtp_host'] = 'ssl://smtp.gmail.com';
$config['smtp_user']= 'my email id';
$config['smtp_pass'] = 'my password';
$config['wordwrap']= "TRUE";
$config['smtp_port']= "465";
$config['mailtype']= "html";
$config['newline']= "\r\n";
$config['crlf']= "\r\n";
On Win 7, I am getting the following error:
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?)
Could it be a problem with my machine or anything with Win 7 (I am using Win 7 Home Basic)?
Regards,
Bala