namespace DigitalData.MessagingService.Domain.Enums;
///
/// Specifies the protocol used to receive (sync) incoming emails for an account.
///
public enum IncomingProtocol
{
///
/// No incoming protocol configured — account is send-only.
///
None = 0,
///
/// Sync emails via IMAP using username/password authentication.
///
Imap = 1,
///
/// Sync emails via POP3 using username/password authentication.
///
Pop3 = 2,
///
/// Sync emails via IMAP using OAuth2 (XOAUTH2) authentication.
/// Requires UseOAuth2 = true and valid OAuth2 credentials.
///
ImapOAuth2 = 3,
///
/// Sync emails via POP3 using OAuth2 (XOAUTH2) authentication.
/// Requires UseOAuth2 = true and valid OAuth2 credentials.
///
Pop3OAuth2 = 4,
}