Table of Contents

Constructor AppendedMailFlags

Namespace
MailFathom.Domain.Delivery.Filing
Assembly
MailFathom.Domain.dll

AppendedMailFlags(bool, bool)

The flags a message carries into the folder MailFathom appends it to.

public AppendedMailFlags(bool IsDraft, bool IsSeen)

Parameters

IsDraft bool

Whether the copy is marked \Draft, which says the message has not left yet.

IsSeen bool

Whether the copy is marked \Seen, which says nobody has to read it.

Remarks

Two flags and no more, because those are the two an appended copy of the owner's own message can honestly carry. \Draft states that the message is still being composed or is still waiting to go out, and \Seen states that the owner need not read what they wrote themselves — a sent copy arriving unread would put an unread count on the owner's own outgoing mail in every client they open.

The set is closed rather than a general flag bag, for the reason ADR 0007 keeps the mutations closed: a flag MailFathom writes is an assertion it has to be able to stand behind, and these two are the ones the filing itself establishes. Nothing else is expressible, so no caller can widen it.

This says nothing about a message already in a mailbox. It is the initial flag set of a message being created by an APPEND, which is a different act from the STORE that changes a message somebody already has.