Re: Sending Mail with PHP
| From: | Manuel Lemos | Date: | Wed, 27 Oct 2004 00:14:23 +0000 |
| Subject: | Re: Sending Mail with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200389@lists.php.net to get a copy of this message | ||
Hello,
On 10/26/2004 06:22 AM, Wiesiek wrote:
So.. If domain was not exist (like (2)), then exim4 generate error message and send to....www-data@... (like (4)). Is some way to change it? I never set in any config these address. I try to set in mail header Return-Patch:, but it seems to no work :(You may want to try this class that lets you set the return address using the Return-Path header. You can either use the main class or the sendmail sub-class for delivery. There are examples of how to set the return address here: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html