Method GetPolicy
- Namespace
- MailFathom.Application.Mail
- Assembly
- MailFathom.Application.dll
GetPolicy(MailAccountId)
Gets the validated transport security policy for a configured account.
MailTransportSecurityPolicy GetPolicy(MailAccountId accountId)
Parameters
accountIdMailAccountIdThe local account identifier.
Returns
- MailTransportSecurityPolicy
The account's transport security policy.
Exceptions
- MailTransportSecurityPolicyViolationException
Thrown when the configured policy is unsafe.