上一篇:申请中国签证填表注意事项(亲身经历)
下一篇:加航国内航班须提前45分钟、国外需60分钟办登机
PHP mail() 命令不支持认证
米娅 2013年8月10日 22:58:36

网站搬家之后有一次忘了密码,就用“找回密码”的功能,邮箱并没有收到通知,却再也登陆不了,后来发现是邮件服务器设置的问题。新的服务器需要认证,PHP mail() 命令没找到设密码的地方。网上有人说,PHP mail() 命令不支持认证,看来要大改动了。

抄一段放这里备份。

PHP mail() command does not support authentication. Your options:

1) PHPMailer

Download: http://sourceforge.net/projects/phpmailer

Tutorial: http://phpmailer.codeworxtech.com/index.php?pg=tutorial#2

2) PEAR

Download: http://pear.php.net/package/Mail

Tutorial: http://email.about.com/od/emailprogrammingtips/qt/et073006.htm

3) Custom functions

See various solutions in the notes section: http://php.net/manual/en/ref.mail.php


共1页
相关链接