Re: PHP MAIL function...why wont it work????

From: Date: Thu, 28 Feb 2002 23:48:27 +0000
Subject: Re: PHP MAIL function...why wont it work????
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-86684@lists.php.net to get a copy of this message
Yep it is a linux box. > From: "DL Neil" <PHPml@DandE.HomeChoice.co.uk> > Reply-To: "DL Neil" <PHPml@DandE.HomeChoice.co.uk> > Date: Thu, 28 Feb 2002 22:55:59 -0000 > To: "Brad Wright" <bradwright@optushome.com.au>, "PHP General List" > <php-general@lists.php.net> > Subject: Re: [PHP] PHP MAIL function...why wont it work???? > > Hi Brad, > >> Hi all... I have a line in a page that should send me an email when > the page >> is loaded. >> mail("bradwright@optushome.com.au", "worked", "Line 1\nLine >> 2\nLine > 3"); >> when i load the page...i get NO error msgs, but the function does not > send >> the mail. There is no record of any activity in the mail log...any > ideas... > > > If your server is not a *nix box you need to separate headers with CRLF > (Win) or CR (Mac). > What does php.ini say in the mail section? > Simplify the msg right down to the barest minimum, get it to work, then > start adding... > =dn > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#86684) next »