Table of Contents

Class MailAccountRecord

Namespace
MailFathom.Infrastructure.Persistence.Users
Assembly
MailFathom.Infrastructure.dll

One mail account as its record holds it.

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

Constructors

MailAccountRecord(Guid, string?, string, string, long)

One mail account as its record holds it.

Fields

MaximumAssignedPerUser

The greatest number of accounts one user is read with, which bounds the record composed for them.

MaximumEmailAddressLength

The longest address an account holds, which is the longest RFC 5321 permits a path to carry.

MaximumUsersAssigned

The greatest number of users one account is assigned to, which bounds everybody a question about its mail reaches.

Properties

DisplayName

The name the account is told apart by among the accounts one user is assigned.

Document

The account's settings, as the JSON object the configuration layer binds.

EmailAddress

The address of the mailbox, or null for an account an upgrade could derive none for, which is not served until one is stated.

Id

The identifier the deployment generated for the account, which every mail row names it by.

Policies

Gets the settings policies that govern the account, as they stood when it was read.

Version

The version a writer states when it changes the record.

Methods

MaximumUsersAssignedIn(Guid?)

Gets the greatest number of users an account is assigned to where it belongs, which is one for an account in no organization.

NormalizedFormOf(string?)

Gets the form an address is compared in, which is what the deployment-wide uniqueness holds to.