Class EmailMimeExtractionResult
- Namespace
- MailFathom.Application.Emails.Extraction
- Assembly
- MailFathom.Application.dll
Carries the metadata read from a message, or the reason none could be read.
public sealed record EmailMimeExtractionResult : IEquatable<EmailMimeExtractionResult>
- Inheritance
-
EmailMimeExtractionResult
- Implements
- Inherited Members
Remarks
Failure is a result rather than an exception because badly formed mail is expected: a message nobody can parse must be recorded and stepped over, leaving the batch and the folder checkpoint to continue.
Properties
- Outcome
Gets what happened.
Methods
- Extracted(ExtractedEmailMetadata)
Reports a message whose MIME was read.
- MalformedContent()
Reports a message the reader could not parse.
- NestingDepthLimitExceeded()
Reports a message abandoned because it nests deeper than the configured limit.
- PartCountLimitExceeded()
Reports a message abandoned because it declares more parts than the configured limit.