AuthMethod
public enum AuthMethod: String
Auth method to an SMTP server.
- plain: Plain authorization.
- cramMD5: CRAM-MD5 authorization.
- login: Login authorization.
- xOauth2: xOauth2 authorization.
-
Plain authorization.
Declaration
Swift
case plain = "PLAIN"
-
CRAM-MD5 authorization.
Declaration
Swift
case cramMD5 = "CRAM-MD5"
-
Login authorization.
Declaration
Swift
case login = "LOGIN"
-
xOauth2 authorization.
Declaration
Swift
case xOauth2 = "XOAUTH2"