ImapClientOptions
Defined in: packages/net-imap/src/imap/imap-client.ts:45
Construction options for ImapClient.
Properties
Section titled “Properties”defaultTimeoutMs?
Section titled “defaultTimeoutMs?”
optionaldefaultTimeoutMs?:number
Defined in: packages/net-imap/src/imap/imap-client.ts:68
Applied to every command that does not specify its own timeout.
maxBufferSize?
Section titled “maxBufferSize?”
optionalmaxBufferSize?:number
Defined in: packages/net-imap/src/imap/imap-client.ts:51
Ceiling on undecoded received bytes. Defaults to 1 MiB, since IMAP
responses such as FETCH envelopes can be substantially larger than a mail
command line.
maxLineLength?
Section titled “maxLineLength?”
optionalmaxLineLength?:number
Defined in: packages/net-imap/src/imap/imap-client.ts:57
Maximum response line length. Defaults to 64 KiB; IMAP sets no line limit, so this is a safety bound rather than a protocol constant.
maxPipelineDepth?
Section titled “maxPipelineDepth?”
optionalmaxPipelineDepth?:number
Defined in: packages/net-imap/src/imap/imap-client.ts:65
How many outstanding commands an inbound line may be offered to.
Defaults to 8. IMAP servers may complete pipelined commands out of order, so unlike SMTP a strict depth of 1 would mis-attribute responses.