RE: [PHP] MAIL() Problems

From: Date: Thu, 12 Oct 2000 21:29:52 +0000
Subject: RE: [PHP] MAIL() Problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-19898@lists.php.net to get a copy of this message
You don't have it calling on any header information (a fourth param). It is requrired to use 4 parameters with mail() now... mail($email_recipient, $subject, $message,"From: justin@goldendome.com\nReply-To: rodino@goldendome.com"); ________________________________________ Justin Rodino <justin@goldendome.com> Web Application Developer Golden Dome Media PO Box 1616 Notre Dame, IN 46634 219.631.1116 800.728.7979 ext. 1116 219.631.1001 - fax http://www.goldendome.com/ http://www.wndu.com/ > -----Original Message----- > From: Dallas Kropka [mailto:dallask@firstworld.net] > Sent: Thursday, October 12, 2000 6:40 PM > To: PHP LIST > Subject: [PHP] MAIL() Problems > > > I have tried to simply send a mail to my email address with > this code... it is written just as it is in the PHP manual. > > <? > > > if (!mail("dallask@firstworld.net", "subject", "body")) > echo "unable to send the mail"; > else > echo "mail sent"; > > > ?> > > this code seems to hang, I will be using this mail function > to send out to a mailing list, I just wanted to test it > first. Is there somthing Im missing? > > > > Im on a windows 2k system >

« previous php.general (#19898) next »