Setting bouncing mail id in php mail function
Following php mail function sets the bouncing mail address (return-to in mail header).
mail ($to, $subject, $body, "From: $from_address", "-f $from_address");
In the mail header use -f option to set the return-to mail address. It can be possible to attach "-f $from address" in the mail header, but i have not tried this.
|