AuthMethod

public enum AuthMethod : String

Supported authentication methods for logging into the SMTP server.

  • CRAM-MD5 authentication.

    Declaration

    Swift

    case cramMD5 = "CRAM-MD5"
  • LOGIN authentication.

    Declaration

    Swift

    case login = "LOGIN"
  • PLAIN authentication.

    Declaration

    Swift

    case plain = "PLAIN"
  • XOAUTH2 authentication. Requires a valid access token.

    Declaration

    Swift

    case xoauth2 = "XOAUTH2"