Table of Contents

Enum MailDeletionOutcome

Namespace
MailFathom.Application.Mail.Mutations.Authoring
Assembly
MailFathom.Application.dll

Names what asking to delete one email produced, which is a record or a reason there is none.

public enum MailDeletionOutcome

Fields

AccountNoLongerConfigured = 2

The account no longer declares what it keeps of mail the server has let go of.

A deleted message is one MailFathom will not see again, so what becomes of the local copy is the account's own answer; an account a reload has stopped declaring has none, and none invented here would be it.

Applied = 3

The account holds its mailbox, and the message was moved into its local trash; a restoring one also opened the delete its source is owed.

A delete of a message already in the local trash of an account holding or restoring its mailbox is an erasure instead, which is Recorded: its record is what holds the cascade for the grace window, and the restore never appends back what a person erased.

MessageNotFound = 1

This deployment serves no readable email under that identity, so there is nothing to delete.

It answers for a row nothing holds, a row of an account this deployment no longer serves, a row in a folder withheld from the caller, and a row whose remote occurrence the server has already expunged, on the same terms every mailbox read answers for those four together.

Recorded = 0

The delete was written down, and the account's next convergence pass will issue it.

Remarks

It is shorter than MailRelocationOutcome because a delete names no folder: there is no destination to be missing and none the message could already be in. What is left is the message this deployment does not serve and the account that has stopped saying what it keeps, and each is a message's own answer rather than the request's, so a caller deleting several at once acts on each and carries on with the rest.