Re: Weird mail() poblem
| From: | KEN LINDER | Date: | Tue, 22 Aug 2000 14:10:47 +0000 |
| Subject: | Re: Weird mail() poblem | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12945@lists.php.net to get a copy of this message | ||
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>>