|
php 代码:
mail("admin@***.com","hello","My name is ywen18","From:admin@***.net");
...
这个代码,我在windowns200 和 redhat8.0 环境下测试均通过,可以发送邮件...问题是在 redhat 7.2 下却不可以, why????
redhat7.2
php.ini设置:
[mail function]
; For Win32 only.
;SMTP =localhost.
; For Win32 only.
;sendmail_from =me@localhost.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path =sendmail -t -i
sendmail 服务器已运行....
请问: 是什么问题呢???
谢谢 |
|