namespace AIStudio.Tools.Mail;
///
/// Why a connection to the IMAP server of a mailbox failed.
///
public enum MailboxConnectionFailure
{
///
/// The server rejected the username or the password. AI Studio does not try again on its own, because every rejected attempt brings the account closer to being locked.
///
AUTHENTICATION_FAILED,
///
/// The server could not be reached or stopped answering, e.g., without a VPN connection. Says nothing about the password.
///
NETWORK_UNAVAILABLE,
///
/// No encrypted connection came about: the certificate of the server was not trusted, or the server does not offer STARTTLS.
///
TLS_FAILED,
///
/// The server refused a command, or answered in a way the IMAP client did not understand.
///
SERVER_ERROR,
///
/// The settings of the mailbox are incomplete, or this version of AI Studio does not know them. Nothing was sent to the server.
///
INVALID_SETTINGS,
///
/// The organization allows only its own mail servers, and the server of the mailbox is none of them. Nothing was sent to the server.
///
SERVER_NOT_ALLOWED,
}