Table of Contents

Class ServedMailAccount

Namespace
MailFathom.Application.Accounts
Assembly
MailFathom.Application.dll

Describes one mail account this deployment serves, as configuration declares it.

public sealed record ServedMailAccount : IEquatable<ServedMailAccount>
Inheritance
ServedMailAccount
Implements
Inherited Members

Remarks

It carries what an operator decided about the account and nothing about how MailFathom reaches it. The host, the port, the user name, and every secret reference are deliberately absent: they are the deployment's connection detail rather than a property of the mailbox, and this record travels to places — a published tool result among them — where none of them may go.

The mode states the operator's request rather than what a folder actually got. Whether push is served is decided per folder against what the mail server advertises and how recent attempts went, which is a synchronization observation and is reported where those are.

Constructors

ServedMailAccount(MailAccountId, MailAccountDisplayName, MailSynchronizationMode)

Describes one mail account this deployment serves, as configuration declares it.

Properties

DisplayName

The name the account is published under, which is what a person reading a result recognizes.

Id

The stable identifier every stored row, cursor, and log line names the account by.

SynchronizationMode

What the operator asked to start the account's next synchronization pass.

Methods

IsNamedBy(MailAccountSelector)

Reports whether text a request carried names this account.