note 94170 modified in function.mail by danbrown
| From: | danbrown@php.net | Date: | Wed, 21 Oct 2009 13:27:46 +0000 |
| Subject: | note 94170 modified in function.mail by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-161941@lists.php.net to get a copy of this message | ||
A quick note about the optional flags that can be passed to sendmail. -f will set the From address,
-r will override the default Return-path that sendmail generates (typically the From address gets
used). If you want your bouncebacks to go to a different address than the from address, try using
both flags at once: "-f myfromemail@example.com -r mybounceemail@example.com"
--was--
A quick note about the optional flags that can be passed to sendmail. -f will set the From address,
-r will override the default Return-path that sendmail generates (typically the From address gets
used). If you want your bouncebacks to go to a different address than the from address, try using
both flags at once: "-f myfromemail@abc.com -r mybounceemail@xyz.com"
http://php.net/manual/en/function.mail.php