OptionalconnectionConnected socket to use instead of creating and connecting a new one. If secure option is true, then socket is upgraded from plain text to cipher text.
OptionalconnectionHow many milliseconds to wait for the connection to establish.
OptionaldebugIf set to true, then logs SMTP traffic and message content, otherwise logs only transaction events.
OptionalgreetingHow many milliseconds to wait for the greeting after connection is established.
OptionalignoreTLSTurns off STARTTLS support if true.
OptionalloggerIf set to true then logs to console. If value is not set or is false then nothing is logged.
OptionalopportunisticTLSTries to use STARTTLS and continues normally if it fails.
OptionalproxyA proxy URL used for connecting the SMTP server. This value will be forwarded to the underlying nodemailer lib, so it handles the proxy job for the SDK.
OptionalrequireTLSForces the client to use STARTTLS. Returns an error if upgrading the connection is not possible or fails.
OptionalsecureDefines if the connection should use SSL (if true) or not (if false).
OptionalsocketInitialized socket to use instead of creating a new one.
OptionalsocketHow many milliseconds of inactivity to allow.
OptionaltlsDefines additional options to be passed to the socket constructor.
Represents options for setting up the SMTP connection. This interface is compatible with
SMTPConnection.Optionsofnodemailer.