RE: [PHP] email
| From: | David Robley | Date: | Mon, 22 Jul 2002 04:29:06 +0000 |
| Subject: | RE: [PHP] email | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-108815@lists.php.net to get a copy of this message | ||
In article <200207220343.g6M3hEob020514@gw.lockie.ca>, bjlockie@lockie.ca
says...
>
> >try doing a echo eg
> >
> >$mail = mail( $to, $subj, $Message );
> >echo $to;
> >echo "<BR>";
> >echo $subj;
> >echo "<BR>";
> >echo $Message;
> >echo "<BR>";
> >echo $mail;
> >
> >and see if that is setting the variables...if $mail = 1 then on php's side mail is
> >sent if it's 0 then u have an error
>
> How can I see what the error is?
>
Check the logs for your MTA (sendmail, qmail whatever) for errors
--
David Robley
Temporary Kiwi!
Quod subigo farinam