Table of Contents

Method Read

Namespace
MailFathom.Domain.Emails.Authentication
Assembly
MailFathom.Domain.dll

Read(IReadOnlyList<SenderDomain>, bool, string?)

Reads the verdict one message's locally checked signatures support.

public static SenderAuthentication Read(IReadOnlyList<SenderDomain> verifiedSigningDomains, bool anySignatureRejected, string? displayedSenderAddress)

Parameters

verifiedSigningDomains IReadOnlyList<SenderDomain>

The domain of every signature that verified, in the order the message carried them.

anySignatureRejected bool

Whether a signature was checked against a key that resolved and did not verify. It separates a failure from silence, exactly as an attempted-and-failed method does in the trusted reading: a key that could not be resolved is not a rejection and must not be reported as one.

displayedSenderAddress string

The address the message's From header wrote, where it wrote one.

Returns

SenderAuthentication

The verdict, which names LocalVerification whatever it says.

Exceptions

ArgumentNullException

Thrown when verifiedSigningDomains is null.