Table of Contents

Method DerivedFromHtmlBody

Namespace
MailFathom.Application.Emails.Extraction
Assembly
MailFathom.Application.dll

DerivedFromHtmlBody(string, string)

Reports text derived from an HTML body, which is a lossy reading of what the message displayed.

public static ExtractedEmailText DerivedFromHtmlBody(string originalText, string trimmedText)

Parameters

originalText string

The derived text before trimming.

trimmedText string

The derived text that remained after quoted history and signatures were removed.

Returns

ExtractedEmailText

The extracted text, marked as a lossy derivation.

Exceptions

ArgumentNullException

Thrown when originalText or trimmedText is null.