1) PHPMailer download
https://code.google.com/a/apache-extr...
I download PHPMailer_5.2.4.zip and use winrar to unzip and put it in
C:\xampp\htdocs\phpmailertest
2)Configuration php.ini to enable openssl
In C:\xampp\php\php.ini
extension=php_openssl.dll
If not, you may get the following message:
"Failed to connect to server:
Unable to find the socket transport "ssl" -
did you forget to enable it when you configured PHP? (1909703479) "
3) Restart Apache
4) Create index.php under C:\xampp\htdocs\phpmailertest.
More about this code:
http://jiansenlu.blogspot.com/2014/10...