Mailer configuration

interface MailerConfig {
    clientHost: null | string;
    context?: any[];
    enabled: boolean;
    from: string;
    host: string;
    password: string;
    persistent?: boolean;
    port: number;
    secure: null | MailerSmtpSecurity;
    theme: string;
    timeout?: number;
    username: string;
}

Properties

clientHost: null | string

SMTP client hostname

context?: any[]

Context for connecting to the SMTP server

enabled: boolean

SMTP server enablement

from: string

SMTP server sender email address

host: string

SMTP server host

password: string

SMTP server password

persistent?: boolean

Persistent connection to the SMTP server

port: number

SMTP server port

secure: null | MailerSmtpSecurity

SMTP server security - null means plain-text connection

theme: string

Mailer theme

timeout?: number

SMTP server timeout

username: string

SMTP server username