Table of Contents

Class LocalMailCopy

Namespace
MailFathom.Application.Mail.Delivery.Filing
Assembly
MailFathom.Application.dll

A message read and placed for filing into a held account's local folder, before the transaction that files it.

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

Remarks

It is prepared outside the transaction for the reason synchronization places content outside one: under the object backend the placement reaches the endpoint. A copy whose transaction never commits leaves an object nothing points at, which reclamation removes.

Constructors

LocalMailCopy(MailAccountId, OutgoingMailFiling, MailFolderResolutionId, ExtractedEmailMetadata?, PlacedEmailContent)

A message read and placed for filing into a held account's local folder, before the transaction that files it.

Properties

Account

The account the message is filed for.

Binding

The folder binding of the source folder playing that role.

Content

The payload, already placed where the content store keeps it.

Filing

Which place the message is filed into, which carries its role and its flags.

Metadata

What was read out of the message's MIME, or null when nothing could be.