Class MailAuthenticationMechanismUnavailableException
- Namespace
- MailFathom.Infrastructure.Mail
- Assembly
- MailFathom.Infrastructure.dll
Indicates that a mail server advertises no authentication mechanism the account's policy permits.
public sealed class MailAuthenticationMechanismUnavailableException : MailFathomException, ISerializable
- Inheritance
-
MailAuthenticationMechanismUnavailableException
- Implements
- Inherited Members
Remarks
The message names the account and the permitted mechanism names only. The mechanisms the server advertised are deliberately absent from it as well as from the payload, because recording them would document a downgrade path in logs; MailFathomException states the rest of what a message may carry.
Constructors
- MailAuthenticationMechanismUnavailableException(string, IReadOnlyList<string>)
Initializes a new unavailable-mechanism failure for one account.
Properties
- AccountId
Gets the local account identifier.
- ErrorCode
Gets the stable code identifying this failure to a boundary that must report it without naming a type.
- PermittedMechanismNames
Gets the SASL names the account's policy permits.