Constructor MailboxExportSettings
- Namespace
- MailFathom.Application.Mail.Export
- Assembly
- MailFathom.Application.dll
MailboxExportSettings(long, TimeSpan)
What bounds an export: how large an archive this deployment will produce, and how long it keeps one.
public MailboxExportSettings(long MaximumArchiveByteLength, TimeSpan Retention)
Parameters
MaximumArchiveByteLengthlongThe most stored mail one export may carry, measured before a job exists and enforced again while the archive is written.
RetentionTimeSpanHow long a finished archive stays downloadable before the deployment deletes it.
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.