note 25667 added to function.mail
| From: | taspratt at abc-ca dot org | Date: | Tue, 01 Oct 2002 22:02:45 +0000 |
| Subject: | note 25667 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-37488@lists.php.net to get a copy of this message | ||
I was unable to alter the return-path on the server which hosts my webpage; the Return-Path was
being over written with their pre-set address. So any mail I sent out through PHP that was bounced
back would not come to me. <br><br>After adding the following lines -
<br><br>$from = "-f ".webmaster@mydomain.com; <br>mail($to, $subject,
$message, $headers, $from);<br><br> the return-path address was changed and I now
receive the bounced email. Thank you crdesignprod at NO_SPAMyahoo dot com for the directions.
--
http://www.php.net/manual/en/function.mail.php
http://master.php.net/manage/user-notes.php?action=edit+25667
http://master.php.net/manage/user-notes.php?action=delete+25667
http://master.php.net/manage/user-notes.php?action=reject+25667