RE: [PHP] mail function in PHP's

From: Date: Sat, 25 Nov 2000 11:54:27 +0000
Subject: RE: [PHP] mail function in PHP's
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27130@lists.php.net to get a copy of this message
Can you set a c.c. address is the mail function? I have been repeating the function for each address the message should go to. Chris Mason Box 340, The Valley, Anguilla, British West Indies Tel: 264 497 5670 Fax: 264 497 8463 USA Fax (561) 382-7771 Take a virtual tour of the island http://net.ai/ The Anguilla Guide Find out more about NetConcepts www.netconcepts.ai Talk to me in real time with Instant Messenger: masonc92@hotmail.com -----Original Message----- From: php-general-return-27129-chris=net.ai@lists.php.net [mailto:php-general-return-27129-chris=net.ai@lists.php.net]On Behalf Of o.cook@etoncollege.org.uk Sent: Saturday, November 25, 2000 7:15 AM To: FranciscoAguilera@canalmail.com; php-general@lists.php.net Subject: RE: [PHP] mail function in PHP's >From the manual: mail("nobody@aol.com", "the subject", $message, "From: webmaster@$SERVER_NAME\nReply-To: webmaster@$SERVER_NAME\nX-Mailer: PHP/" . phpversion()); You can set the from and reply to headers, as the snippet suggest. Then if the mail can't be delivered; failure reports are sent to the from address. Ollie > -----Original Message----- > From: Francisco Aguilera [mailto:FranciscoAguilera@canalmail.com] > Sent: 25 November 2000 11:14 > To: php-general@lists.php.net > Subject: [PHP] mail function in PHP's > > > > Hi, > > I'm newby in programming with PHP. > > I've been programming PHP in an UNIX environment with > Apache as Web Server, I've been trying to send e-mail with de > mail function, and it works fine if the sender exist. > > The program catch a From Header, to Header, Subject and > messages. When the e-mail is delivered to the Receipt, in the > From Header appears the e-mail we type as From Header, but > when the e-mail is return due to errors, it is delivered to > the owner that runs Apache. > > Is there someone that know how I can masquerade the > Apache's owner? and if there is an error delivering the > e-mail, the error must be sent to the Sender. > > Thank's a lot. > > Best Regards > -- 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 (#27130) next »