Method ReadExtractedBodyTextAsync
- Namespace
- MailFathom.Application.Rules.Evaluation
- Assembly
- MailFathom.Application.dll
ReadExtractedBodyTextAsync(StoredEmailId, CancellationToken)
Reads the text extracted from one email's body.
Task<string?> ReadExtractedBodyTextAsync(StoredEmailId storedEmailId, CancellationToken cancellationToken)
Parameters
storedEmailIdStoredEmailIdThe email a condition named the body text of.
cancellationTokenCancellationTokenCancels the read, which the evaluation timeout also reaches through.
Returns
Remarks
Reached only when a condition names the body-text fact, and at most once per email per pass, which MailRuleFacts is what guarantees.