note 34079 added to function.mail

From: Date: Tue, 15 Jul 2003 17:27:09 +0000
Subject: note 34079 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-52146@lists.php.net to get a copy of this message
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". ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34079 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34079&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34079&report=yes

« previous php.notes (#52146) next »