UNPKG

emailengine-client

Version:

A TypeScript client for the EmailEngine API

57 lines (56 loc) 1.52 kB
import { Authentication } from "./Authentication"; import { TLS } from "./TLS"; export declare class ImapConfiguration { /** * Authentication info */ 'auth': Authentication; /** * Set to true to use authentication server instead of username/password */ 'useAuthServer': boolean; /** * Hostname to connect to */ 'host': string; /** * Service port number */ 'port': number; /** * Should connection use TLS. Usually true for port 993 */ 'secure': boolean; /** * Optional TLS configuration */ 'tls': TLS; /** * Full resync delay in seconds */ 'resyncDelay': number; /** * Set to true to disable IMAP handling */ 'disabled': boolean; /** * Upload sent message to this folder. By default the account's Sent Mail folder is used. Set to null to unset. */ 'sentMailPath': string; /** * Folder for drafts. By default the account's Draft Mail folder is used. Set to null to unset. */ 'draftsMailPath': string; /** * Folder for spam. By default the account's Junk Mail folder is used. Set to null to unset. */ 'junkMailPath': string; /** * Folder for deleted emails. By default the account's Trash folder is used. Set to null to unset. */ 'trashMailPath': string; /** * Folder for archived emails. By default the account's Archive folder is used. Set to null to unset. */ 'archiveMailPath': string; }