Creating Plot Twists
    Preparing search index...

    Type Alias SmtpConnectOptions

    Credentials and server info for connecting to an SMTP server.

    type SmtpConnectOptions = {
        host: string;
        port: number;
        tls: boolean;
        starttls: boolean;
        username: string;
        password: string;
    }
    Index

    Properties

    host: string

    SMTP server hostname (e.g. "smtp.mail.me.com")

    port: number

    SMTP server port (e.g. 465 for TLS, 587 for STARTTLS)

    tls: boolean

    Whether to use implicit TLS (true for port 465)

    starttls: boolean

    Whether to upgrade to TLS via STARTTLS (true for port 587)

    username: string

    SMTP username (typically the email address)

    password: string

    SMTP password (app-specific password for Apple)