php在linux下发邮件的问题
lizyl 2010-05-26 03:59:58 我的系统是红帽
php用的是5.2.9
在php的配置文件中进行了以下配置
[mail function]
; For Win32 only.
;SMTP =localhost
;smtp_port = 25
; For Win32 only.
;sendmail_from =lb@shunc.cn
sendmail_path =/usr/sbin/sendmail -t -i
然后我系统的sendmail版本是8.13.1,是红帽自带的。
然后我在php文件中用一下函数发邮件:
mail("**@**.com","test","test");
提示成功,但是却收不到邮件,请问是什么问题?