Method Trusted
- Namespace
- MailFathom.Domain.Emails.Authentication
- Assembly
- MailFathom.Domain.dll
Trusted(SenderTrustSource, SenderTrustPolicyRevision)
Records that this deployment recognized the message's authenticated author.
public static SenderTrust Trusted(SenderTrustSource grantedBy, SenderTrustPolicyRevision policyRevision)
Parameters
grantedBySenderTrustSourceWhich half named the author.
policyRevisionSenderTrustPolicyRevisionThe policy that was applied.
Returns
- SenderTrust
The verdict.
Exceptions
- ArgumentException
Thrown when no half is named, which is not a trusted message.