Table of Contents

Method ContentUnavailable

Namespace
MailFathom.Application.Emails.GetEmailContent
Assembly
MailFathom.Application.dll

ContentUnavailable(StoredEmailId, EmailContentDefect)

Reports an email that is stored and whose content cannot be served.

public static EmailContentReadFailure ContentUnavailable(StoredEmailId storedEmailId, EmailContentDefect defect)

Parameters

storedEmailId StoredEmailId

The email the read named.

defect EmailContentDefect

What was found wrong with its stored content.

Returns

EmailContentReadFailure

The failure to publish for it.

Remarks

It stays distinct from NotFound(StoredEmailId) because the two say different things about the same request: one names an email that was never stored here, the other one that is stored and whose body this deployment cannot currently serve. Only the second schedules repair and only the second is worth repeating.