1. 配置好php.ini 的SMTP
SMTP = smtp.163.com
smtp_port = 25
sendmail_path ="C:\xampp\sendmail\sendmail.exe -t"
2. 在WINDOWG下,需要安装xampp ,利用其EMAIL功能来发信,
安装XAMPP,然后修改 C:\xampp\sendmail 下的sendmail.ini
smtp_server=smtp.163.com
smtp_port=25
auth_username=yoursemailname
auth_password=yourpassword
重启APACHE后,就可以使用了。可以利用 phpmailer 类
发表于 @
2008年12月13日 15:43:00 | | 编辑|
举报| 收藏