|
Posted by Bert Melis on 08/09/05 21:29
steve@hunnicutt.com wrote:
> I'm trying to create a PHP script to send mail to a list of addresses.
> I'm sending mail okay, because the messages arrive in an account that I
> can check, but messages to a known bad address aren't being bounced
> back to the sending address.
>
> Here's the line of code I'm using:
>
> $mailok = mail("me@goodaddress.com,me@badaddress.com","this is a test",
> "this is a test", "From: me@sendaddress.com");
>
> I receive the message at me@goodaddress.com just fine. If I send a
> manual message to me@badaddress.com, the message bounces. If I manually
> bounce the message that I received at me@goodaddress.com then it
> bounces back to me@sendaddress.com.
>
> I need to figure out why messages to me@badaddress.com sent by the PHP
> script aren't bouncing back to me@sendaddress.com.
>
The bouncing is handled by the server the mail is sent to. If that
server just deletes mail to bad addresses, nothing will bounce.
Perhaps someone can tell us what will happen when the other server is
not existing?
Navigation:
[Reply to this message]
|