Enum DerivedWorkAdmission
- Namespace
- MailFathom.Application.Spam.Gating
- Assembly
- MailFathom.Application.dll
States what classification says about one occurrence's readiness for the work derived from it.
public enum DerivedWorkAdmission
- Extension Methods
Fields
Admitted = 0Classification settled the message as ordinary correspondence, or it never reached the message at all.
AwaitingClassification = 2No verdict has been reached yet and the wait a verdict is allowed has not run out.
ReleasedAfterWaiting = 4No verdict has been reached and the message has waited longer than a verdict is allowed to take.
ReleasedAsUnclassifiable = 3No verdict will ever be reached, because the message carries nothing a classification could read.
WithheldAsJunk = 1The message is junk, so nothing downstream of classification runs for it.
Remarks
Three answers rather than two, and the third is the whole reason this is an enumeration instead of a predicate. A message still waiting on a verdict has not failed, so a rule reading only failed would never release one and a classification backlog deep enough to matter would stop the index instead of delaying it. Waiting, settled, and released are therefore distinct, and only the first withholds indefinitely.
Every member is derived from where the message is now and what was decided about it. Nothing writes it down, which is what makes mail moved back out of the junk folder eligible again without anything having to notice the move.