RE: [PHP] usage of mail()
| From: | mailing_list at gmx dot at | Date: | Mon, 27 Nov 2000 22:45:45 +0000 |
| Subject: | RE: [PHP] usage of mail() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27484@lists.php.net to get a copy of this message | ||
>>If the emailaddress does not exist, I want a message in my personal
>>mailbox - is this possible?
>>and if not - is it possible by using the linux sendmail-command?
>
> I believe you can just set the "Return-Path" header within your email.
>
> See example 3 at http://www.php.net/manual/function.mail.php
I now tried:
mail($sendto,$subject,$message,"From: myaddress@mysite.com\nReply-To:
myaddress@mysite.com\nReturn-Path: myaddress@mysite.com\n");
... but I never got a "can't deliver-report" ...
(and I sent it to xxx@xxx.xxx :-) )
thanks
witty
--
Sent through GMX FreeMail - http://www.gmx.net