Hi,
I was hoping some PHP guru would be able to help me out with a problem that I was unable to get the answer to in the sitepointforums (which is vert rare).
The problem is that I do not receive the bounce Email messages for invalid Email addresses when using the mail() function. The code I'm using is the following:
<?php
$headers = "From: [email]eirik@netmaking.no[/email]\n" .
"'Reply-to: [email]eirik@netmaking.no[/email]\n\n";
mail('no_such_email_address@online.no, [email]eirik@netmaking.no[/email]', 'subject', 'body', $headers);
?>
As you can see, the 'no_such_email_address@online.no' does not exist, but still, I receive no notification of this, regardless of the fact that my Email adress is set both as the from and reply-to address.
Someone suggested adding a fifth parameter looking something like "-f bounce@domain.com", but that didn't do any good.
Could my web host have some strange set up that keeps my bounces from reaching me?
Thanks in advance for any helpful advice !