Topic: how to send mail via gmail?
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.8b 04 May 2006
I'm done it
FIND
if (!($socket = fsockopen($smtp_host, $smtp_port, $errno, $errstr, 15)))
CHANGE TO
if (!($socket = fsockopen('ssl://'.$smtp_host, $smtp_port, $errno, $errstr, 15)))
And then this error code:
An error was encountered
--------------------------------------------------------------------------------
Could not connect to smtp host "smtp.gmail.com:465" (32767) ().
The error occurred on line 155 in /include/email.php
But,Now,how to send mail via gmail?