pai
    Preparing search index...

    Function buildMailConfig

    • A mailbox login from an address and password. The servers come from imap and smtp when given, else from the preset for the address's domain (Gmail, Outlook, Hotmail, iCloud, Fastmail).

      Parameters

      • opts: { imap?: string; insecure?: boolean; pass: string; smtp?: string; user: string }

      Returns MailConfig

      CliError when there is no preset and no servers were given, or no password.