Table of Contents

Constructor ProviderSpamHeaderValue

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

ProviderSpamHeaderValue(string, string)

One provider spam header exactly as the message carried it.

public ProviderSpamHeaderValue(string FieldName, string Value)

Parameters

FieldName string

The header field name, one of All.

Value string

The unfolded header value, uninterpreted.

Remarks

The value arrives uninterpreted so that the reading of it happens in one place, where it is unit-testable, rather than inside the MIME adapter. It is untrusted input: a message can carry a header a sending party wrote, which is precisely why a verdict read out of one is recorded with the field it came from instead of as an anonymous score.