Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodemailer/nodemailer
/ functions
Functions
546 in github.com/nodemailer/nodemailer
⨍
Functions
546
◇
Types & classes
191
↓ 1 callers
Function
_recoverAddrSpec
* Recovers the addr-spec from an angle-addr that came back holding unquoted whitespace. * * A malformed header can put more than a mailbox between t
src/addressparser/index.ts:135
↓ 1 callers
Method
_removeConnection
* Remove resource from pool * * @param connection The PoolResource to remove
src/smtp-pool/index.ts:565
↓ 1 callers
Method
_requeueEntryOnConnectionClose
(connection: PoolResource)
src/smtp-pool/index.ts:531
↓ 1 callers
Method
_resolveAndConnect
* Resolves the hostname and applies resolved values to opts, * then calls the provided callback with the resolved data * * @param opts
src/smtp-connection/index.ts:732
↓ 1 callers
Method
_setDsnEnvelope
(params: SMTPEnvelopeDsn)
src/smtp-connection/index.ts:1706
↓ 1 callers
Method
_shouldRequeuOnConnectionClose
(queueEntry: SMTPPoolQueueEntry)
src/smtp-pool/index.ts:502
↓ 1 callers
Method
addUser
(username: string, refreshToken?: string)
test/xoauth2/server.ts:35
↓ 1 callers
Function
applyCjsInterop
(dir)
scripts/build.js:96
↓ 1 callers
Function
assign
(...args: ({ [key: string]: any } | false | null | undefined)[])
src/shared/index.ts:815
↓ 1 callers
Function
basicToDigit
(codePoint: number)
src/punycode/index.ts:171
↓ 1 callers
Function
blast
()
test/smtp-connection/http-proxy-client-test.ts:213
↓ 1 callers
Function
build
()
scripts/build.js:128
↓ 1 callers
Function
buildDeepGroup
* Helper to build deeply nested group structure * e.g., depth=3 produces: "g0: g1: g2: user@example.com;"
test/addressparser/addressparser-test.ts:1021
↓ 1 callers
Function
buildHeaderParam
(key: string, data: string | Buffer, maxLength?: number)
src/mime-funcs/index.ts:263
↓ 1 callers
Method
callback
(err?: Error | null)
src/mime-node/index.ts:977
↓ 1 callers
Function
callbackPromise
(resolve: (...args: any[]) => void, reject: (reason?: any) => void)
src/shared/index.ts:606
↓ 1 callers
Function
canon
(line: string)
test/dkim/relaxed-body-test.ts:40
↓ 1 callers
Method
checkChar
* Checks if a character is an operator or text and acts accordingly * * @param chr Character from the address field
src/addressparser/index.ts:449
↓ 1 callers
Method
checkHeaders
* Finds and removes message headers from the remaining body. We want to keep * headers separated until final delivery to be able to modify these
src/dkim/message-parser.ts:63
↓ 1 callers
Function
checkRanges
* Helper function to check if a number is inside provided ranges * * @param nr Number to check for * @param ranges An Array of allowed values * @r
src/qp/index.ts:142
↓ 1 callers
Function
cleanTagValue
(value: string | undefined)
src/dkim/sign.ts:99
↓ 1 callers
Function
client
(messageId: string, config?: { region(): Promise<string> })
test/ses-transport/ses-transport-test.ts:459
↓ 1 callers
Method
close
* Closes the connection
src/smtp-pool/pool-resource.ts:296
↓ 1 callers
Function
compiled
(data: any)
test/mailer/mail-message-test.ts:247
↓ 1 callers
Function
compiled
(to: string | string[] = 'test@valid.recipient')
test/sendmail/sendmail-test.ts:352
↓ 1 callers
Function
completingSpawn
()
test/sendmail/sendmail-test.ts:47
↓ 1 callers
Method
connect
* Initiates a connection to the SMTP server * * @param callback Callback function to run once the connection is established or failed
src/smtp-pool/pool-resource.ts:112
↓ 1 callers
Function
createDefaultLogger
* Generates a bunyan-like logger that prints to console * * @returns Bunyan logger instance
src/shared/index.ts:911
↓ 1 callers
Method
createReadCache
()
src/dkim/index.ts:119
↓ 1 callers
Method
createReadStream
()
test/smtp-pool/smtp-pool-test.ts:30
↓ 1 callers
Function
createTransport
(transporter?: TransportConfig | Transport<any> | string, defaults?: MailDefaults)
src/nodemailer.ts:88
↓ 1 callers
Method
createWriteCache
()
src/dkim/index.ts:184
↓ 1 callers
Function
decode
(input: string)
src/punycode/index.ts:223
↓ 1 callers
Function
digitToBasic
(digit: number, flag: number)
src/punycode/index.ts:195
↓ 1 callers
Function
dkimHeader
(raw: string)
test/mailer/mail-test.ts:69
↓ 1 callers
Function
dnsError
(code: string)
test/shared/shared-test.ts:1057
↓ 1 callers
Function
embeddedCid
(raw: string)
test/mailer/mail-test.ts:464
↓ 1 callers
Function
encode
* Writes the chunks to a fresh DataStream, one write per chunk, and collects the output
test/smtp-connection/data-stream-test.ts:20
↓ 1 callers
Function
encode
(buffer: Buffer | string)
src/qp/index.ts:19
↓ 1 callers
Function
encode
(input: string)
src/punycode/index.ts:313
↓ 1 callers
Function
encodeURICharComponent
(chr: string)
src/mime-funcs/index.ts:666
↓ 1 callers
Function
encodeWord
(data: string | Buffer, mimeWordEncoding?: string, maxLength?: number)
src/mime-funcs/index.ts:95
↓ 1 callers
Function
expectConnectError
* Connects the client, expects the session to fail before the connect callback * runs and hands the emitted error to the assertions once the server i
test/smtp-connection/smtp-connection-errors-test.ts:22
↓ 1 callers
Method
fatal
(data?: LogEntry, message?: string, ...args: any[])
src/shared/index.ts:139
↓ 1 callers
Function
fetchEcho
(options: any, callback: (err: any, echo?: any) => void)
test/fetch/nmfetch-test.ts:814
↓ 1 callers
Function
formatDNSValue
(value: DnsCacheValue | undefined, extra?: Partial<ResolvedHostname>)
src/shared/index.ts:248
↓ 1 callers
Function
freePort
()
test/smtp-transport/smtp-fixtures.ts:279
↓ 1 callers
Function
generateDKIMHeader
( domainName: string | undefined, keySelector: string | undefined, fieldNames: string, hashAlg
src/dkim/sign.ts:89
↓ 1 callers
Function
generatePackageInfo
()
scripts/build.js:30
↓ 1 callers
Function
generateWellKnownServices
()
scripts/build.js:43
↓ 1 callers
Method
get
* Returns cookie string for the 'Cookie:' header. * * @param url URL to check for * @returns Cookie header or empty string if no matche
src/fetch/cookies.ts:88
↓ 1 callers
Method
getAddresses
* Generates and returns an object with parsed address fields * * @return Address object
src/mime-node/index.ts:1152
↓ 1 callers
Method
getHeader
()
test/sendmail/sendmail-test.ts:40
↓ 1 callers
Function
hasHeader
(lines: string[], expected: string)
test/mailer/mail-message-test.ts:267
↓ 1 callers
Function
hasOwn
(obj: object, key: string)
src/mailer/mail-message.ts:96
↓ 1 callers
Function
hashChunks
(chunks: Buffer[])
test/dkim/relaxed-body-test.ts:15
↓ 1 callers
Function
hashOf
(body: string)
test/dkim/relaxed-body-test.ts:31
↓ 1 callers
Function
headerLines
(raw: string)
test/mailer/mail-message-test.ts:260
↓ 1 callers
Function
idleSpawn
()
test/sendmail/sendmail-test.ts:325
↓ 1 callers
Function
invalidUrl
(input: string)
src/shared/url.ts:68
↓ 1 callers
Function
listFiles
(dir, ext)
scripts/build.js:75
↓ 1 callers
Function
listIdValue
(comment: string)
test/nodemailer/list-headers-test.ts:79
↓ 1 callers
Function
listUrlValue
(comment: string)
test/nodemailer/list-headers-test.ts:110
↓ 1 callers
Function
main
()
examples/sendmail.js:9
↓ 1 callers
Function
main
()
examples/await.js:9
↓ 1 callers
Function
main
()
examples/custom-auth-async.js:9
↓ 1 callers
Function
main
()
examples/mailcomposer.js:16
↓ 1 callers
Function
main
()
examples/verify.js:5
↓ 1 callers
Function
main
()
examples/sec2.js:5
↓ 1 callers
Function
main
()
examples/sec1.js:5
↓ 1 callers
Function
makeClient
(server: TestServer)
test/smtp-connection/smtp-connection-test.ts:89
↓ 1 callers
Function
map
* A generic `Array#map` utility function. * @private * @param array The array to iterate over. * @param callback The function that gets called for
src/punycode/index.ts:79
↓ 1 callers
Function
message
()
test/mailer/proxy-test.ts:77
↓ 1 callers
Function
message
(recipients: string | string[], extra?: { [key: string]: any })
test/mailer/max-recipients-test.ts:16
↓ 1 callers
Function
normalizeDomain
* Encodes a domain the way browsers, the WHATWG URL Standard and DNS facing resolvers do, * which is with UTS-46 mapping applied before the Punycode
src/mime-node/index.ts:231
↓ 1 callers
Function
normalizeHostname
(raw: string, href: string)
src/shared/url.ts:128
↓ 1 callers
Function
normalizeService
(service: WellKnownServiceDefinition)
src/well-known/index.ts:53
↓ 1 callers
Function
open
(data: any)
test/mailer/mail-message-test.ts:137
↓ 1 callers
Function
parse
(chunks: (Buffer | string)[])
test/dkim/message-parser-test.ts:72
↓ 1 callers
Function
parseFetchUrl
* Resolves a URL only if it is one this module is willing to request. * * urllib.parse throws for a host that contains forbidden bytes, and it is ca
src/fetch/index.ts:98
↓ 1 callers
Function
pick
(n: number)
test/dkim/relaxed-body-test.ts:185
↓ 1 callers
Method
postRequest
* Custom POST request handler. * This is only needed to keep paths short in Windows, usually this module * is a dependency of a dependency a
src/xoauth2/index.ts:460
↓ 1 callers
Function
prng
(seed: number)
test/dkim/relaxed-body-test.ts:53
↓ 1 callers
Function
proxied
(proxy: string, extra: { [key: string]: any } = {})
test/mailer/proxy-test.ts:73
↓ 1 callers
Function
proxyConnect
( port: number, host: string, destinationPort: number, destinationHost: string, callback:
test/smtp-connection/smtp-connection-test.ts:2126
↓ 1 callers
Function
quote
(value)
scripts/build.js:26
↓ 1 callers
Function
readNext
()
test/dkim/dkim-test.ts:63
↓ 1 callers
Method
record
(message: any)
test/shared/shared-test.ts:70
↓ 1 callers
Function
reference
(body: string)
test/dkim/relaxed-body-test.ts:37
↓ 1 callers
Function
relaxed
(line: string)
test/dkim/sign-test.ts:187
↓ 1 callers
Function
relaxedHeaders
(headers: MessageParserHeaderLine[], fieldNames?: string, skipFields?: string)
src/dkim/sign.ts:115
↓ 1 callers
Function
render
(data: SendMailOptions)
test/mailer/mail-message-test.ts:254
↓ 1 callers
Function
render
(options: { [key: string]: any }, data: SendMailOptions)
test/mailer/mail-test.ts:56
↓ 1 callers
Function
resolveContentValue
( data: { [key: string]: any }, key: string | number, options: ResolveContentOptions, callback
src/shared/index.ts:741
↓ 1 callers
Function
resolveStream
* Streams a stream value into a Buffer * * @param stream Readable stream * @param callback Callback function with (err, value)
src/shared/index.ts:867
↓ 1 callers
Function
respond
(status: number, payload: string, contentType?: string)
test/xoauth2/xoauth2-test.ts:492
↓ 1 callers
Function
runTest
(socket: net.Socket)
test/smtp-connection/smtp-connection-test.ts:935
↓ 1 callers
Function
runTsc
(project)
scripts/build.js:68
↓ 1 callers
Function
safeDone
(server: TestServer, done: (err?: any) => void, fn: () => void)
test/smtp-connection/smtp-connection-test.ts:106
↓ 1 callers
Function
safeEncodeURIComponent
(str: string)
src/mime-funcs/index.ts:685
← previous
next →
201–300 of 546, ranked by callers