Table of Contents

Class ProviderSpamHeaderValue

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

One provider spam header exactly as the message carried it.

public sealed record ProviderSpamHeaderValue : IEquatable<ProviderSpamHeaderValue>
Inheritance
ProviderSpamHeaderValue
Implements
Inherited Members

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.

Constructors

ProviderSpamHeaderValue(string, string)

One provider spam header exactly as the message carried it.

Properties

FieldName

The header field name, one of All.

Value

The unfolded header value, uninterpreted.