Subject: [mile] Two places for email details

From: "Roman D. Danyliw" <[email-masked]>
Date: Mon, 13 Jan 2014 02:15:55 +0000

Hello!

As the schema is currently defined in -03 of 5070bis, the details of an email message can be represented in two places in the Service class.

** A From address can be in Service/EmailInfo/Email and Service/Email
** A Subject can be in Service/EmailInfo/EmailSubject and Service/EmailSubject
** A X-Mailer can be in Service/EmailInfo/X-Mailer

For example, the following snippet would be valid:

<Service>...
    <Email>[email-masked]</Email>
    <EmailInfo><Email>[email-masked]</Email></EmailInfo>
...</Service>

There is no text describing these classes so I'm assuming they represent the same information.  Can someone explain the use case for supporting such flexibility.  When do I Service/{Email,EmailSubject,X-Mailer} instead of Service/EmailInfo/{Email,EmailSubject,X-Mailer}?

It would seem to me having one set of classes might be better -- perhaps just Service/EmailInfo.

Roman