Re: going to try one more time about mail problems

From: Date: Thu, 01 Jun 2000 14:26:39 +0000
Subject: Re: going to try one more time about mail problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-799@lists.php.net to get a copy of this message
On Thu, Jun 01, 2000 at 07:06:39AM -0700, Wizaerd wrote: > I have asked this several times and while there have been some cursory > answers, there's been nothing replied or answered that has either explained > this or fixed this. Before you read on though, here are a couple of answers > I'll give outright since they are the only questions everybody asks > imeediately. Come on, this combative attitude tempted me to just delete this message. > $mailTo = "wizaerd@wizaerd.com"; > $mailSubject = "Testing EMail"; > $mailBody = "This is a test of the EMail system from a PHP script\n"; > $mailBody .= "PHP Version " . phpversion(); > $mailHeader = "From: jsheble@zanova.com\n"; > $mailHeader .= "Reply-To: jsheble@zanova.comn\n"; > $mailHeader .= "X-Mailer: PHP/" . phpversion() . "\n\n"; > mail( $mailTo, $mailSubject, $mailBody, $mailHeader ); I just sent myself a message, by copying the aboce text into a file, and remving all the \n's except after the 1st and second extra header lines. -- Chris Moyer -- cmoyer@chekinc.com -- PHP Developer -- Chek.com

« previous php.general (#799) next »