Hi.
I've been meaning for some time to post a followup to the earlier
email discussion specifically regarding headers, i don't have time to
go into all the details about list headers.  But anyway, RFC 2822:
http://www.faqs.org/rfcs/rfc2822.html
Has the answer.
The sender is the agent responsible for sending the message (i.e.
webmas...@...)
>From is the person the message is from -- the author even if it's not
the sender (there's is zero reason to set Reply-To:).

So the answer is:
From: [email protected]
Sender: [email protected]

There's also the SMTP envelope from address, but that's another
issue...
-Craig
PS: for mailing lists, the other RFC of major interest is 2369
( http://www.faqs.org/rfcs/rfc2369.html ) and there are a few others
of minor interest...

On Sep 8, 12:11 pm, Stig Manning <[email protected]> wrote:
> 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 
> (seehttp://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 Manninghttp://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