defines preferred authentication method, e.g. ‘PLAIN’
connected socket to use instead of creating and connecting a new one. If secure option is true, then socket is upgraded from plaintext to ciphertext
how many milliseconds to wait for the connection to establish
if set to true, then logs SMTP traffic and message content, otherwise logs only transaction events
how many milliseconds to wait for the greeting after connection is established
the hostname or IP address to connect to (defaults to ‘localhost’)
turns off STARTTLS support if true
the local interface to bind to for network connections
optional bunyan compatible logger instance. If set to true then logs to console. If value is not set or is false then nothing is logged
optional hostname of the client, used for identifying to the server
tries to use STARTTLS and continues normally if it fails
the port to connect to (defaults to 25 or 465)
forces the client to use STARTTLS. Returns an error if upgrading the connection is not possible or fails.
defines if the connection should use SSL (if true) or not (if false)
initialized socket to use instead of creating a new one
how many milliseconds of inactivity to allow
defines additional options to be passed to the socket constructor, e.g. {rejectUnauthorized: true}
if set to true, then logs SMTP traffic without message content
Generated using TypeDoc
defines authentication data