Table of Contents

Constructor SpamClassificationResult

Namespace
MailFathom.Application.Spam
Assembly
MailFathom.Application.dll

SpamClassificationResult(SpamClassificationOutcome, SpamClassification?)

What one attempt to classify an occurrence produced.

public SpamClassificationResult(SpamClassificationOutcome Outcome, SpamClassification? Classification)

Parameters

Outcome SpamClassificationOutcome

How the attempt ended.

Classification SpamClassification

What was recorded, present exactly when the outcome is Classified.

Remarks

The classification travels back with the outcome so a caller that has to act on the verdict — filing junk on the server, or holding an occurrence back from embedding — does not read it again from the store it was just written to. It is derived data about mail and therefore not loggable; the outcome is.