note 34079 deleted from function.mail by rioter
| From: | rioter@php.net | Date: | Tue, 15 Jul 2003 21:07:39 +0000 |
| Subject: | note 34079 deleted from function.mail by rioter | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-52152@lists.php.net to get a copy of this message | ||
Note Submitter: Shiraz Esat
----
I needed a way of sending mail from my server as 'someuser@someplace.com', and having
error bouncebacks going back to 'someuser@someplace.com', rather than bades@someplace.com
or nobody@someplace.com.
I tried to figure a way of using the "Return-Path" header, but all attempts failed.
On the other hand, I've used the "Errors-To" header successfully, by first editting
/etc/mail/sendmail.cf and setting "UseErrorsTo=True".