Mail Header : Different refturn address
Hi,
I am writing a PHP script in which I would like the replies to come to an alternate address. The header section of my PHP is: Code:
$headers = "MIME-Version: 1.0 \r\n"; I need the To address to be donoreply@mydomain.com. Pls help what am I missing ? Thx Vai |
This isn't the answer you're looking for but every email I have ever received that was from a donotreply address stated the mailbox was not monitored so any replies would go unanswered.
If you don't want replies it might be easier to just figure out how to block all incoming mail. |
I don't know how the mail() command works, but do you need another \r\n after the last header?
|
@windtalker10, I would still like to learn how to setup a different return address as per the RFC (assuming its there).
@AlucardZero, the above code works fine; so you may start with this code and adapt it further. This post is still open. I look forward to answers or pointers. Thx Vai |
All times are GMT -5. The time now is 08:40 PM. |