RE: [PHP] usage of mail()

From: Date: Tue, 28 Nov 2000 21:01:23 +0000
Subject: RE: [PHP] usage of mail()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27676@lists.php.net to get a copy of this message
I agree with you, it looks very good, ... but it doesn't work though!!! any more hints available??? thanks witty > what about: > Errors-To: > > I have not used it but it looks right. > > try: > mail($sendto,$subject,$message,"From: myaddress@mysite.com\nReply-To: > myaddress@mysite.com\nErrors-To: myaddress@mysite.com\n"); > > Please let me know if it works. > > > >>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 :-) ) > > -- Sent through GMX FreeMail - http://www.gmx.net

« previous php.general (#27676) next »