Table of Contents

Method Read

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

Read(IReadOnlyList<AuthenticationResultsHeader>, TrustedAuthenticationAuthority, string?)

Reads the verdict one message's headers support.

public static SenderAuthentication Read(IReadOnlyList<AuthenticationResultsHeader> headers, TrustedAuthenticationAuthority authority, string? displayedSenderAddress)

Parameters

headers IReadOnlyList<AuthenticationResultsHeader>

Every Authentication-Results header the message carried, topmost first.

authority TrustedAuthenticationAuthority

The one server this account believes, which may name none.

displayedSenderAddress string

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

Returns

SenderAuthentication

The verdict, which is the not-established one wherever nothing trusted could be read.

Exceptions

ArgumentNullException

Thrown when headers is null.