note 42856 deleted from function.mail by sniper
| From: | sniper@php.net | Date: | Wed, 19 Jan 2005 14:44:20 +0000 |
| Subject: | note 42856 deleted from function.mail by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-83630@lists.php.net to get a copy of this message | ||
Note Submitter: diman1 at hotpop dot com
----
PHP 4.3.4
Sometimes (on my WinXP dev-machine) it won't accept custom From: header when hard-written from
adress in the .ini file is missing (commented) . If you run into this problem, and don't want
to put From: adress into your .ini use ini_set function right before main() is called.
ini_set("sendmail_from", "replyadress@domain.com");