Class MailboxExportSettings
- Namespace
- MailFathom.Application.Mail.Export
- Assembly
- MailFathom.Application.dll
What bounds an export: how large an archive this deployment will produce, and how long it keeps one.
public sealed record MailboxExportSettings : IEquatable<MailboxExportSettings>
- Inheritance
-
MailboxExportSettings
- Implements
- Inherited Members
Remarks
Both are the operator's, because both are about their storage rather than about anybody's mailbox. An archive is a second full copy of a mailbox for as long as it is kept, so the retention period is the length of time the deployment's storage holds that mailbox twice — which is why the default is short enough to download within and why the operator documentation says so.
The size limit is measured against the stored mail an export would carry rather than against the archive it produces, because the first is knowable before any work happens and the second is not.
Constructors
- MailboxExportSettings(long, TimeSpan)
What bounds an export: how large an archive this deployment will produce, and how long it keeps one.
Fields
- DefaultMaximumArchiveByteLength
The size limit a deployment that configured none exports under, which is a mailbox far larger than most.
- DefaultRetention
The retention period a deployment that configured none keeps an archive for.
Properties
- Default
Gets the settings a deployment that configured none exports under.
- MaximumArchiveByteLength
The most stored mail one export may carry, measured before a job exists and enforced again while the archive is written.
- Retention
How long a finished archive stays downloadable before the deployment deletes it.