Skip to content

SmtpClientOptions

Defined in: packages/net-smtp/src/smtp/smtp-client.ts:41

Construction options shared by SmtpClient and its subclasses.

optional defaultTimeoutMs?: number

Defined in: packages/net-smtp/src/smtp/smtp-client.ts:56

Applied to every command that does not specify its own timeout.


optional maxBufferSize?: number

Defined in: packages/net-smtp/src/smtp/smtp-client.ts:47

Ceiling on undecoded received bytes. Defaults to 64 KiB, ample for the longest realistic EHLO capability list while still bounding a misbehaving server.


optional maxLineLength?: number

Defined in: packages/net-smtp/src/smtp/smtp-client.ts:53

Maximum reply line length. Defaults to 1000 bytes, the limit RFC 5321 §4.5.3.1.5 places on a reply line including its terminator.