On 2010-01-24 16:21:23 +0000, LuKreme said:
On 24-Jan-2010, at 04:31, Neil wrote:
3. Everyone (including people in the Bcc field) get the same copy of
the email, and there is no Bcc field in the headers at all.
This is the only option I've ever seen, and it is how every mailing
list I've ever subscribed to works.
as for option 2, isn't the To: header one of the required headers?
It is, but there’s never a requirement that the person whose address is
used in the SMTP “RCPT TO” command appears anywhere in the headers
whatsoever. Many MTAs add an “X-Delivered-To” or “X-Original-To” (or
similar) header containing the address from the SMTP transaction in
order to account for this.
In most mailing lists, the “To” field is identical for everyone.
There’s a good reason for this: the message is generated first, and the
Bcc list never appears as part of it, the generated message is then
sent to a list of people (the combination of those listed in the To, Cc
and Bcc fields). When your “mail” and “sendmail” programs are two
separate things (as was traditionally the case), the latter would have
minimal interaction with the composed message as it was needless
complication.
On the other hand, if your user and outgoing delivery agents are the
same program, then you could generate the headers specifically for each
recipient… but as every mail client and server in existence copes
perfectly well without anybody doing this, it would seem like a lot of
effort for very little benefit :)
M.
_______________________________________________
[email protected] mailing list
List help: http://lists.ranchero.com/listinfo.cgi/email-init-ranchero.com