RE: [PHP] email
| From: | Peter | Date: | Mon, 22 Jul 2002 04:21:11 +0000 |
| Subject: | RE: [PHP] email | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-108814@lists.php.net to get a copy of this message | ||
> >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?
>
what do the echo's say? if they have no input then there's a error
also but not 100% on this if u put
error_reporting=E_ALL & ~E_NOTICE in php that might tell u where bouts the error is..