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 <[email protected]>
Subject : Re: The Syntax in the RFC
Sender : KSecy@Other-Host
Reply-To : [email protected]
To : George Jones <[email protected]>,
[email protected]
cc : Important folk:
Tom Softwood <[email protected]>,
"Sam Irving"@Other-Host;,
Standard Distribution:
/main/davis/people/standard@Other-Host,
"<Jones>standard.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: <[email protected]>, 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 protected]
Your options:
http://mail.python.org/mailman/options/email-sig/archive%40mail-archive.com