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

From: Date: Thu, 28 Feb 2002 22:55:59 +0000
Subject: Re: PHP MAIL function...why wont it work????
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-86673@lists.php.net to get a copy of this message
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

« previous php.general (#86673) next »