RE: [PHP] usage of mail()

From: Date: Tue, 28 Nov 2000 14:29:59 +0000
Subject: RE: [PHP] usage of mail()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27599@lists.php.net to get a copy of this message
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. Colm Rafferty > -----Original Message----- > From: mailing_list@gmx.at [mailto:mailing_list@gmx.at] > Sent: Monday, November 27, 2000 10:46 > To: Sam Masiello; php-general@lists.php.net > Subject: RE: [PHP] usage of mail() > > > >>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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#27599) next »