RE: [PHP] usage of mail()

From: Date: Mon, 27 Nov 2000 22:52:46 +0000
Subject: RE: [PHP] usage of mail()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27487@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 :-) ) > > IIRC, locally sendmail doesn't check the headers, only the envelope. some hint, what I can do??? -- Sent through GMX FreeMail - http://www.gmx.net

« previous php.general (#27487) next »