Method Create
- Namespace
- MailFathom.Application.Spam.Signals
- Assembly
- MailFathom.Application.dll
Create(IReadOnlyList<MessageAuthenticationResult>, IReadOnlyList<ProviderSpamHeaderValue>)
Records what one message's headers carried.
public static SpamHeaderFacts Create(IReadOnlyList<MessageAuthenticationResult> authenticationResults, IReadOnlyList<ProviderSpamHeaderValue> providerHeaders)
Parameters
authenticationResultsIReadOnlyList<MessageAuthenticationResult>The authentication outcomes, nearest hop first.
providerHeadersIReadOnlyList<ProviderSpamHeaderValue>The provider spam headers, in the order they appeared.
Returns
- SpamHeaderFacts
The facts, with each list held to its bound.
Exceptions
- ArgumentNullException
Thrown when either argument is null.