+2 votes

When examining the TO field of an email: if the value is a MailGroup, I know you can use the .Addresses property to get the individual mail addresses that comprise that group.

But the group itself also has an SMTP email address (at least I know this is true in the case of Exchange distribution lists). How can I get the email address of the group itself?

by (400 points)

1 Answer

0 votes

Internet Message Format specifications are clear - groups don't have an email address (or rather it is not present in the email):

RFC2822 3.4. Address Specification:

group = display-name ":" [mailbox-list / CFWS] ";"

RFC5322 3.4. Address Specification:

group = display-name ":" [group-list] ";" [CFWS]

by (301k points)
...