Hi all,

The majority of all websites have some kind of contact form. Generally 
it accepts the user's email address, name and a message.
In order to make it easy to respond to these messages you might set 
email headers like:

From: [email protected]
Reply-To: [email protected]

So then responding to the message is possibly by hitting 'Reply'.
There is also another method using email headers like:

From: [email protected]
Sender: [email protected]

This also allows you to respond by hitting 'Reply'. Both of these 
options are not going to be blocked by any SPF policy (see 
http://www.openspf.org/Introduction).

Which of these two options are 'best practice'? Any idea what the 
benefits of either of these are (other than the way the headers appear 
in an email client)?

There is another options, the cowboy option, setting the 'From' to be 
the user's email address. This WILL be blocked by their domain's SPF 
policy, and anyone doing this should fix their mailers...
Interested to hear everyone's opinions,

Cheers,
Stig

-- 
Stig Manning
http://www.sdm.co.nz


--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to