在你的PHP.INI文件中找
[mail function]
; For Win32 only.
SMTP = localhost ; for Win32 only
sendmail_from= [email protected] ; for Win32 only; For Win32 only.
;sendmail_from = [email protected]将SMTP改为你所使用的SMTP服务器,比如smtp.xxiyy.com。
或者在本机安装SMTP服务器
[mail function]
; For Win32 only.
SMTP = localhost ; for Win32 only
sendmail_from= [email protected] ; for Win32 only; For Win32 only.
;sendmail_from = [email protected]将SMTP改为你所使用的SMTP服务器,比如smtp.xxiyy.com。
或者在本机安装SMTP服务器
[mail function]
; For Win32 only.
SMTP = smtp.etang.com ; for Win32 only; For Win32 only.
sendmail_from = [email protected] ; for Win32 only修改了,还不行。大虾再指点下了。小弟先谢谢~Warning: mail(): SMTP server response: 553 You are not authorized to send mail as <[email protected]>, authentication is required in d:\wwwroot\my\4\processfeedback.php on line 30
你要自己配置一个smtp服务器才行。
请讲详细点。:)
http://expert.csdn.net/Expert/topic/2633/2633972.xml?temp=.4282038看看吧,很详细