用PHPMailer-master.zip和GMAIL发邮件

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/  

你可能感兴趣的:(phpmailer)