RE: [PHP] Weird mail() poblem

From: Date: Tue, 22 Aug 2000 18:53:47 +0000
Subject: RE: [PHP] Weird mail() poblem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12999@lists.php.net to get a copy of this message
mail($email, $subject, $body, 'From:' . $email2); Where all the variables exist and echo correct variables. Path so sendmail is also there ad set to default: sendmail -t SO I dont understand why it stopped working all of a sudden. Sincerely, Oleg > -----Original Message----- > From: KEN LINDER [mailto:radstream@lvcm.com] > Sent: Tuesday, August 22, 2000 7:11 AM > To: Bradley McCrorey; php-general@lists.php.net > Subject: Re: [PHP] Weird mail() poblem > > > No Problem.... Here is a piece of test code: > <? > // send a test e-mail > $mailto = "radstream@lvcm.com"; > $mailsubject = "test123---send"; > $mailbody = "This is a test e-mail body..."; > $mailheaders = "From: ken@radstream.com\n"; > $mailheaders .= "Reply-to: radstream@lvcm.com\n"; > $mailheaders .= "Content-Type: text/plain; charset=iso-8859-1\n"; > $mailheaders .= "X-Mailer: CBAS v1.0.09\n"; > // send it! > $mailok = mail($mailto, $mailsubject, $mailbody, $mailheaders); > print($mailok); > ?> > > I have tried several mutations of the above. Also, I have tried > w-agora and > phorum. I get them up & running ok, but they have the same mail problem! > Their calls to mail() just hang! > > Thanks, I do appreciate the help! > Ken L. > > ----- Original Message ----- > From: "Bradley McCrorey" <mccrorey@optushome.com.au> > To: "KEN LINDER" <radstream@lvcm.com>; <php-general@lists.php.net> > Sent: Tuesday, August 22, 2000 1:11 AM > Subject: Re: [PHP] Weird mail() poblem > > > > Yeah, that looks fine. Show us your mail() command? It might just be a > > coding problem. > > > > have you tried the code examples that are on the website? look in the > quick > > ref under mail. > > > > cheers, > > > > Bradley > <<snip>> > > > -- > 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 (#12999) next »