MAIL() problems
| From: | Dallas Kropka | Date: | Thu, 12 Oct 2000 23:39:38 +0000 |
| Subject: | MAIL() problems | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-19896@lists.php.net to get a copy of this message | ||
> I get a CGI time out error when it executes.....
> thought you should know that. Dont know if it will help
>
>
>
> ----- Original Message -----
> From: "Dallas Kropka" <dallask@firstworld.net>
> To: "PHP LIST" <php-general@lists.php.net>
> Sent: Wednesday, October 11, 2000 9:56 PM
> Subject: [PHP] MAIL() problems
>
>
> I have tried to simply send a mail to my email address with this code...
it
> is written just as it is in the PHP manual.
>
> <?
>
>
> if (!mail("dallask@firstworld.net", "subject", "body"))
> echo "unable to send the mail";
> else
> echo "mail sent";
>
>
> ?>
>
> this code seems to hang, I will be using this mail function to send out to
a
> mailing list, I just wanted to test it first. Is there somthing Im
missing?
>
>