R. David Murray writes:
I've gone through the RFCs and done some additional googling,
and haven't been able to confirm the answer to this question: what
exactly is the syntax when a group is included in an address-list? (See
http://tools.ietf.org/html/rfc5322#section-3.4). The question is, if
another address follows the group, are they separated from each other by
';' or by ';,'? The ABNF seems to call for the latter, but I can't find
any example showing it. I'm sure that I should accept both on input,
Why? I mean, YAGNI.
but I'd like to generate the correct form. Does anyone have confirmation
or contradiction for my interpretation?
From RFC 822. The Cc field contains two groups, separated by ,,
with each group terminated by ;.
A.3.3. About as complex as you're going to get
Date : 27 Aug 76 0932 PDT
From : Ken Davis kda...@this-host.this-net
Subject : Re: The Syntax in the RFC
Sender : KSecy@Other-Host
Reply-To : Sam.Irving@Reg.Organization
To : George Jones gr...@some-reg.an-Org,
Al.Neuman@MAD.Publisher
cc : Important folk:
Tom Softwood ba...@tree.root,
Sam Irving@Other-Host;,
Standard Distribution:
/main/davis/people/standard@Other-Host,
Jonesstandard.dist.3@Tops-20-Host;
Comment : Sam is away on business. He asked me to handle
his mail for him. He'll be able to provide a
more accurate explanation when he returns
next week.
In-Reply-To: some.string@DBM.Group, George's message
X-Special-action: This is a sample of user-defined field-
names. There could also be a field-name
Special-action, but its name might later be
preempted
Message-ID: 4231.629.XYzi-What@Other-Host
___
Email-SIG mailing list
Email-SIG@python.org
Your options:
http://mail.python.org/mailman/options/email-sig/archive%40mail-archive.com