Interface IMailTransportSecurityPolicyReader
- Namespace
- MailFathom.Application.Mail
- Assembly
- MailFathom.Application.dll
Resolves the transport security policy configured for one mail account.
public interface IMailTransportSecurityPolicyReader
Remarks
The policy is read once per mailbox operation and handed to the transport adapter as an input, so an adapter can only narrow what it is given and never choose its own connection or authentication behavior. Implementations return an immutable already-validated policy; they must fail rather than return a policy that violates a domain transport security rule.
Methods
- GetPolicy(MailAccountId)
Gets the validated transport security policy for a configured account.