Class EmailContentRenderingResult
- Namespace
- MailFathom.Application.EmailContent.Rendering
- Assembly
- MailFathom.Application.dll
Carries what a parse of stored MIME produced, or the fact that it produced nothing usable.
public sealed record EmailContentRenderingResult : IEquatable<EmailContentRenderingResult>
- Inheritance
-
EmailContentRenderingResult
- Implements
- Inherited Members
Remarks
Failure is a result rather than an exception for the reason it is in extraction: unreadable mail is expected, and a read that meets it answers with a stable failure of its own instead of letting a parser exception travel through code that cannot decide what it means.
Properties
- Outcome
Gets what happened.
Methods
- Rendered(EmailContentRendering)
Reports a message that was parsed.
- Unreadable()
Reports stored bytes that yielded no message a reader could be shown.