Method TryParseSaslName
- Namespace
- MailFathom.Domain.Transport
- Assembly
- MailFathom.Domain.dll
TryParseSaslName(string?, out MailAuthenticationMechanism)
Parses an operator-supplied SASL name, ignoring case and surrounding whitespace.
public static bool TryParseSaslName(string? saslName, out MailAuthenticationMechanism mechanism)
Parameters
saslNamestringThe configured mechanism name.
mechanismMailAuthenticationMechanismThe parsed mechanism when the name is supported; otherwise the unspecified default.