Re: Mail Function
| From: | RealGM | Date: | Wed, 11 Apr 2001 09:40:57 +0000 |
| Subject: | Re: Mail Function | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-48133@lists.php.net to get a copy of this message | ||
Thanks for the reply...
It comes back mail sent, but nothing is actually arriving..
----- Original Message -----
From: Zeus <techzeus@pacific.net.sg>
To: RealGM <webmaster@realgm.com>
Cc: <php-general@lists.php.net>
Sent: Wednesday, April 11, 2001 7:29 PM
Subject: Re: [PHP] Mail Function
> Try adding a
>
> if (!mail(blah blah, balh blah ....)) {
> echo "Mail not sent";
> }
>
> if (mail(blah bal.....)) {
> echo "Mail sent";
> }
>
> Try these and subsitute what ever is in the mail() with your relevant
> information.
>
> ----- Original Message -----
> From: RealGM <webmaster@realgm.com>
> To: <php-general@lists.php.net>
> Sent: Wednesday, 11 April, 2001 5:16 PM
> Subject: [PHP] Mail Function
>
>
>
> Hi,
>
> Tonight was my first attempt at using the mail() function, and running the
> script I had no problems with execution. Everything seemed to go
smoothly,
> except for one thing. I never received an email.
>
> I have consulted the manual and found nothing on the questions I am about
to
> ask. Is there any way of confirming whether an email was actually sent,
or
> if there like a log file I can check? The server is running php4 via
apache
> on a linux machine.
>
> Any help would be appeciated, as I have no idea what could (or could not)
be
> happening.
>
> Thank you,
> Michael.
>
>
>