edgeport - v1.0.3
    Preparing search index...

    Interface ImapConnectOptions

    Options for connect and fetchRecent.

    interface ImapConnectOptions {
        auth: { password: string; username: string };
        hostname: string;
        port?: number;
        timeoutMs?: number;
        tls?: "off" | "starttls" | "implicit";
    }
    Index
    auth: { password: string; username: string }

    Login credentials sent via the LOGIN command.

    hostname: string

    Remote IMAP host.

    port?: number

    Remote port; defaults to 993 (implicit TLS).

    timeoutMs?: number

    Per-operation read deadline in milliseconds.

    tls?: "off" | "starttls" | "implicit"

    Transport security:

    • 'implicit' (default): TLS from the first byte (IMAPS, port 993).
    • 'starttls': plaintext, upgraded with the STARTTLS command (port 143).