Enum EmailAutomation
- Namespace
- MailFathom.Domain.Emails
- Assembly
- MailFathom.Domain.dll
States what a message said about being sent by a machine rather than written to one person.
public enum EmailAutomation
Fields
AutomaticallySubmitted = 2The message was submitted automatically rather than by a person composing it.
BulkPrecedence = 3The message declared itself bulk, list, or junk precedence.
MailingList = 1The message was distributed by a mailing list, which stamped its own identity onto it.
None = 0The message claimed nothing, which every ordinary message a person wrote also does.
Remarks
Each value but the first is a claim the sender itself made in a header defined for exactly that purpose, so this is
read rather than guessed: a mailing list stamps List-Id (RFC 2919) or the List-* headers RFC 2369
defines, an automatic responder stamps Auto-Submitted (RFC 3834), and bulk mail has stamped
Precedence since long before either. A message carrying none of them says nothing, which is
None rather than a statement that a person wrote it.
Which of the three a message carried is kept rather than flattened into a flag, because they are different claims and a later reader may want them apart: a list posting is written by a person to many, while an automatic reply is written by nobody at all.