Table of Contents

Interface IMailBodyCleaner

Namespace
MailFathom.Application.EmailContent.Cleaning
Assembly
MailFathom.Application.dll

Proposes which blocks of one reduced body a reader is shown.

public interface IMailBodyCleaner

Remarks

The port is asked with an outline and answers with ranges, which is the whole of the contract: nothing crossing it carries message text in either direction, so an implementation has no way to return words a sender did not write.

Registered in both of its states rather than in one, for the reason every derivation port here is: a deployment that declared no chat endpoint still has to say *why* a body was not cleaned, and a missing registration would have made every caller decide for itself what an absence meant.

Properties

IsActive

Gets whether this deployment cleans a body at all, which is a registration rather than a call.

Methods

ProposeAsync(CleanableMailBody, CancellationToken)

Proposes which blocks of one body to keep.