"sendmail_from" not set in php.ini or custom "From:" header missing
| From: | Wudi | Date: | Sat, 17 Jul 2004 04:16:25 +0000 |
| Subject: | "sendmail_from" not set in php.ini or custom "From:" header missing | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-190809@lists.php.net to get a copy of this message | ||
Script:
<?php
mail('wudicgi@hotmail.com', 'Subject', 'Message', "From:
wudicgi@seoul.com");
?>
Result:
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom
"From:" header missing in D:\ApacheData\htdocs\downloader\mail.php on line 2
Why does the mail() not work?
How can I send a e-mail without SMTP?
------------------------------------------------------------------------
Comment: English is not my first language.
Wudi <wudicgi@seoul.com>