Enum AuthoredDeleteServerDisposition
- Namespace
- MailFathom.Domain.Emails
- Assembly
- MailFathom.Domain.dll
States what a delete MailFathom authors does to the message on the mail server.
public enum AuthoredDeleteServerDisposition
Fields
Expunge = 0Flags the message
\Deletedand expunges exactly that message, so the server no longer holds it.It is the default because it is what deleting means, and every deletion setting of an account defaults to deleting completely.
FlagDeleted = 1Flags the message
\Deletedand issues no expunge of any kind.The server goes on holding the message until the server itself, another client, or its own retention expunges it, and until then removing the flag there undoes the delete. Synchronization follows the occurrence for exactly that reason: an expunge somebody else issues later is recorded against the delete, and a flag somebody removes brings the message back.
Remarks
It is the server-side half of the decision AuthoredDeleteEmailDisposition makes locally, and the two are separate because they answer for different copies: this one decides whether the server still holds the message once the delete is done, and that one decides what MailFathom keeps of it. Every combination is meaningful — a mailbox read by other clients may want the message flagged and recoverable there while MailFathom forgets it.
The value is resolved when the mutation is written down and travels on its record, so changing the setting while a delete is in flight governs the deletes authored after the change and leaves that one exactly as it was begun.