In PHP it’s possible to specify a return-path header or use -email@example.com to make bounce message notifications come back to you.
Sadly I can not make this work here on my dreamhost server. I don’t know if this is due to DH policy or if I am failing to code it properly. Incidentally I reviewed info at php.net so I think I might be on the right track asking if this is a matter of permissions or DH policy.
Does anyone have any experience with this? My mail params are something like this:
$from=“From: Contact page <$my_email>\n”;
$hdrs=$from; $hdrs.=“Return-Path: firstname.lastname@example.org\n”; $hdrs .= $bcc_string;
mail($to, $subject, $msgbody, $hdrs);
I also tried it with $hdrs .= "-email@example.com"; but it didn’t work.