sendmail_path string Where the sendmail program can be found, usually /usr/sbin/sendmail or /usr/lib/sendmail configure does an honest attempt of locating this one for you and set a default, but if it fails, you can set it here. Systems not using sendmail should set this directive to the sendmail wrapper/replacement their mail system offers, if any. For example, Qmail users can normally set it to /var/qmail/bin/sendmail.
sendmail_from =
要做设置吗?mail("[email protected]","hello","fine thank yu","From:\"lluohongg\"<[email protected]>") or die("false");
echo "ok";就可发信了吗?
搜索文件用find / -name sendmail
也能发信(用php)
但如果设置了并且设置错了,肯定不能发信。
Where the sendmail program can be found, usually /usr/sbin/sendmail or /usr/lib/sendmail configure does an honest attempt of locating this one for you and set a default, but if it fails, you can set it here. Systems not using sendmail should set this directive to the sendmail wrapper/replacement their mail system offers, if any. For example, Qmail users can normally set it to /var/qmail/bin/sendmail.