Table of Contents

Method FindConfigurationErrors

Namespace
MailFathom.Infrastructure.Mail
Assembly
MailFathom.Infrastructure.dll

FindConfigurationErrors()

Finds every unsupported mechanism name and every violated domain transport security rule.

public IReadOnlyList<MailAccountTransportSecurityConfigurationError> FindConfigurationErrors()

Returns

IReadOnlyList<MailAccountTransportSecurityConfigurationError>

The errors to report at startup, empty when the settings are safe.

Remarks

Descriptions name the setting and the rule only. The user name, password, and trust anchor reference stay out of them, because startup validation output reaches operator consoles and logs.

FindConfigurationErrors(MailConnectionSecurity)

Finds every unsupported mechanism name and every rule one of this account's endpoints violates.

public IReadOnlyList<MailAccountTransportSecurityConfigurationError> FindConfigurationErrors(MailConnectionSecurity connectionSecurity)

Parameters

connectionSecurity MailConnectionSecurity

The connection security mode that endpoint is reached under.

Returns

IReadOnlyList<MailAccountTransportSecurityConfigurationError>

The errors to report at startup, empty when the settings are safe.

Remarks

The rules are the ones the account's own endpoint is judged by, so a second endpoint cannot be configured under a weaker standard than the first. Descriptions name the setting and the rule only.