RE: [PHP] mail sent but not received?!
| From: | Josh Close | Date: | Fri, 25 Jun 2004 17:52:42 +0000 |
| Subject: | RE: [PHP] mail sent but not received?! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189071@lists.php.net to get a copy of this message | ||
Your message could have bounced or been rejected for some other reason, in
which case you wouldn't have recieved it, but it'll look like it's sent
fine.
-Josh
> -----Original Message-----
> From: Bing Du [mailto:bdu@iastate.edu]
> Sent: Friday, June 25, 2004 11:08 AM
> To: php-general@lists.php.net
> Subject: [PHP] mail sent but not received?!
>
>
> Hi,
>
> I've been pulling my hair out over this problem for a while...
>
> ----------------
> <?php
> $msg = "Hi, this is a test";
> $to = "me@my.edu";
> $sbj = "test message from my.edu";
>
> $rev = mail($to,$sbj,$msg);
>
> echo "mail from my.edu result is $rev";
> ?>
> --------------
>
> Since the result of the mail() returned is 1, the message
> should have been
> delivered fine. but I did not get anything. Where can I
> look for more
> clues of what the problem might be, like possible log, or turn on some
> debug level in php? I've also tried mail($to,$sbj,$msg, "-f
> me@my.edu"),
> no workie either.
>
> Any help would be greatly appreciated!
>
> Bing
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>