php send mail
| From: | kengaun | Date: | Wed, 28 Jul 2004 09:13:49 +0000 |
| Subject: | php send mail | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-14000@lists.php.net to get a copy of this message | ||
I have the following php code
<?php
mail("finmgr@epax02.fairchildsemi.com", "My Subject", "Line 1\nLine 2\nLine
3");
echo "mail send ?";
?>
I got the following error code:-
[28-Jul-2004 16:57:14] PHP Warning: mail() [<a
href='function.mail'>function.mail</a>]: "sendmail_from" not
set
in php.ini or custom "From:" header missing in
D:\OFI\mail_test2.php on line 3
I am running using IIS, php5b4
Please help to advise what need to install and modify the ini file ?