1.iis6支持 ssl
a. php.ini: extension=php_openssl.dll
b. C:\Server_Core\php\ext 放到 windows 的path里
c. ssleay32.dll 和 libeay32.dll 拷贝到 C:\WINDOWS\system32\inetsrv
2.设置phpmailer
参考:
1.http://stackoverflow.com/questions/2098718/unable-to-send-email-through-gmail-using-phpmailer-v5-1
2.http://stackoverflow.com/questions/1705856/socket-transport-ssl-in-php-not-enabled
3.http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/
附件:http://down.51cto.com/data/2362830
本文转自hbyh 51CTO博客,原文链接:http://blog.51cto.com/norman20000/1200267,如需转载请自行联系原作者