Method Readable
- Namespace
- MailFathom.Application.EmailContent.Rendering
- Assembly
- MailFathom.Application.dll
Readable(EmailBodyRepresentation, EmailBodyRepresentation?)
Reports a body that was read from the stored message.
public static EmailContentBody Readable(EmailBodyRepresentation plainText, EmailBodyRepresentation? sanitizedHtml)
Parameters
plainTextEmailBodyRepresentationThe plain-text representation, bounded and carrying its truncation metadata.
sanitizedHtmlEmailBodyRepresentationThe sanitized HTML representation, or null when none was produced.
Returns
- EmailContentBody
The readable body.
Exceptions
- ArgumentNullException
Thrown when
plainTextis null.