SMTP

public class SMTP

Represents an remote SMTP. Do not use this type directly. Use Hedwig to send mails instead.

  • Auth method to an SMTP server.

    • plain: Plain authorization.
    • cramMD5: CRAM-MD5 authorization.
    • login: Login authorization.
    • xOauth2: xOauth2 authorization.
    See more

    Declaration

    Swift

    public enum AuthMethod: String