Optional connectionConnected socket to use instead of creating and connecting a new one. If secure option is true, then socket is upgraded from plaintext to ciphertext.
Optional connectionHow many milliseconds to wait for the connection to establish.
Optional debugIf set to true, then logs SMTP traffic and message content, otherwise logs only transaction events.
Optional greetingHow many milliseconds to wait for the greeting after connection is established.
Optional ignoreTLSTurns off STARTTLS support if true.
Optional opportunisticTLSTries to use STARTTLS and continues normally if it fails.
Optional proxyA 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.
Optional requireTLSForces the client to use STARTTLS. Returns an error if upgrading the connection is not possible or fails.
Optional sdkDefines the SDK behaviours, for example whether the mails are sent in parallel.
Optional secureDefines if the connection should use SSL (if true) or not (if false).
Optional socketInitialized socket to use instead of creating a new one.
Optional socketHow many milliseconds of inactivity to allow.
Optional tlsDefines additional options to be passed to the socket constructor.
{ rejectUnauthorized: true }
Copyright Ⓒ 2023 SAP SE or an SAP affiliate company. All rights reserved.
Represents options of the mail client.