MCPcopy Create free account

hub / github.com/nodemailer/nodemailer / functions

Functions546 in github.com/nodemailer/nodemailer

↓ 1 callersFunction_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 callersMethod_removeConnection
* Remove resource from pool * * @param connection The PoolResource to remove
src/smtp-pool/index.ts:565
↓ 1 callersMethod_requeueEntryOnConnectionClose
(connection: PoolResource)
src/smtp-pool/index.ts:531
↓ 1 callersMethod_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 callersMethod_setDsnEnvelope
(params: SMTPEnvelopeDsn)
src/smtp-connection/index.ts:1706
↓ 1 callersMethod_shouldRequeuOnConnectionClose
(queueEntry: SMTPPoolQueueEntry)
src/smtp-pool/index.ts:502
↓ 1 callersMethodaddUser
(username: string, refreshToken?: string)
test/xoauth2/server.ts:35
↓ 1 callersFunctionapplyCjsInterop
(dir)
scripts/build.js:96
↓ 1 callersFunctionassign
(...args: ({ [key: string]: any } | false | null | undefined)[])
src/shared/index.ts:815
↓ 1 callersFunctionbasicToDigit
(codePoint: number)
src/punycode/index.ts:171
↓ 1 callersFunctionblast
()
test/smtp-connection/http-proxy-client-test.ts:213
↓ 1 callersFunctionbuild
()
scripts/build.js:128
↓ 1 callersFunctionbuildDeepGroup
* 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 callersFunctionbuildHeaderParam
(key: string, data: string | Buffer, maxLength?: number)
src/mime-funcs/index.ts:263
↓ 1 callersMethodcallback
(err?: Error | null)
src/mime-node/index.ts:977
↓ 1 callersFunctioncallbackPromise
(resolve: (...args: any[]) => void, reject: (reason?: any) => void)
src/shared/index.ts:606
↓ 1 callersFunctioncanon
(line: string)
test/dkim/relaxed-body-test.ts:40
↓ 1 callersMethodcheckChar
* 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 callersMethodcheckHeaders
* 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 callersFunctioncheckRanges
* 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 callersFunctioncleanTagValue
(value: string | undefined)
src/dkim/sign.ts:99
↓ 1 callersFunctionclient
(messageId: string, config?: { region(): Promise<string> })
test/ses-transport/ses-transport-test.ts:459
↓ 1 callersMethodclose
* Closes the connection
src/smtp-pool/pool-resource.ts:296
↓ 1 callersFunctioncompiled
(data: any)
test/mailer/mail-message-test.ts:247
↓ 1 callersFunctioncompiled
(to: string | string[] = 'test@valid.recipient')
test/sendmail/sendmail-test.ts:352
↓ 1 callersFunctioncompletingSpawn
()
test/sendmail/sendmail-test.ts:47
↓ 1 callersMethodconnect
* 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 callersFunctioncreateDefaultLogger
* Generates a bunyan-like logger that prints to console * * @returns Bunyan logger instance
src/shared/index.ts:911
↓ 1 callersMethodcreateReadCache
()
src/dkim/index.ts:119
↓ 1 callersMethodcreateReadStream
()
test/smtp-pool/smtp-pool-test.ts:30
↓ 1 callersFunctioncreateTransport
(transporter?: TransportConfig | Transport<any> | string, defaults?: MailDefaults)
src/nodemailer.ts:88
↓ 1 callersMethodcreateWriteCache
()
src/dkim/index.ts:184
↓ 1 callersFunctiondecode
(input: string)
src/punycode/index.ts:223
↓ 1 callersFunctiondigitToBasic
(digit: number, flag: number)
src/punycode/index.ts:195
↓ 1 callersFunctiondkimHeader
(raw: string)
test/mailer/mail-test.ts:69
↓ 1 callersFunctiondnsError
(code: string)
test/shared/shared-test.ts:1057
↓ 1 callersFunctionembeddedCid
(raw: string)
test/mailer/mail-test.ts:464
↓ 1 callersFunctionencode
* Writes the chunks to a fresh DataStream, one write per chunk, and collects the output
test/smtp-connection/data-stream-test.ts:20
↓ 1 callersFunctionencode
(buffer: Buffer | string)
src/qp/index.ts:19
↓ 1 callersFunctionencode
(input: string)
src/punycode/index.ts:313
↓ 1 callersFunctionencodeURICharComponent
(chr: string)
src/mime-funcs/index.ts:666
↓ 1 callersFunctionencodeWord
(data: string | Buffer, mimeWordEncoding?: string, maxLength?: number)
src/mime-funcs/index.ts:95
↓ 1 callersFunctionexpectConnectError
* 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 callersMethodfatal
(data?: LogEntry, message?: string, ...args: any[])
src/shared/index.ts:139
↓ 1 callersFunctionfetchEcho
(options: any, callback: (err: any, echo?: any) => void)
test/fetch/nmfetch-test.ts:814
↓ 1 callersFunctionformatDNSValue
(value: DnsCacheValue | undefined, extra?: Partial<ResolvedHostname>)
src/shared/index.ts:248
↓ 1 callersFunctionfreePort
()
test/smtp-transport/smtp-fixtures.ts:279
↓ 1 callersFunctiongenerateDKIMHeader
( domainName: string | undefined, keySelector: string | undefined, fieldNames: string, hashAlg
src/dkim/sign.ts:89
↓ 1 callersFunctiongeneratePackageInfo
()
scripts/build.js:30
↓ 1 callersFunctiongenerateWellKnownServices
()
scripts/build.js:43
↓ 1 callersMethodget
* 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 callersMethodgetAddresses
* Generates and returns an object with parsed address fields * * @return Address object
src/mime-node/index.ts:1152
↓ 1 callersMethodgetHeader
()
test/sendmail/sendmail-test.ts:40
↓ 1 callersFunctionhasHeader
(lines: string[], expected: string)
test/mailer/mail-message-test.ts:267
↓ 1 callersFunctionhasOwn
(obj: object, key: string)
src/mailer/mail-message.ts:96
↓ 1 callersFunctionhashChunks
(chunks: Buffer[])
test/dkim/relaxed-body-test.ts:15
↓ 1 callersFunctionhashOf
(body: string)
test/dkim/relaxed-body-test.ts:31
↓ 1 callersFunctionheaderLines
(raw: string)
test/mailer/mail-message-test.ts:260
↓ 1 callersFunctionidleSpawn
()
test/sendmail/sendmail-test.ts:325
↓ 1 callersFunctioninvalidUrl
(input: string)
src/shared/url.ts:68
↓ 1 callersFunctionlistFiles
(dir, ext)
scripts/build.js:75
↓ 1 callersFunctionlistIdValue
(comment: string)
test/nodemailer/list-headers-test.ts:79
↓ 1 callersFunctionlistUrlValue
(comment: string)
test/nodemailer/list-headers-test.ts:110
↓ 1 callersFunctionmain
()
examples/sendmail.js:9
↓ 1 callersFunctionmain
()
examples/await.js:9
↓ 1 callersFunctionmain
()
examples/custom-auth-async.js:9
↓ 1 callersFunctionmain
()
examples/mailcomposer.js:16
↓ 1 callersFunctionmain
()
examples/verify.js:5
↓ 1 callersFunctionmain
()
examples/sec2.js:5
↓ 1 callersFunctionmain
()
examples/sec1.js:5
↓ 1 callersFunctionmakeClient
(server: TestServer)
test/smtp-connection/smtp-connection-test.ts:89
↓ 1 callersFunctionmap
* 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 callersFunctionmessage
()
test/mailer/proxy-test.ts:77
↓ 1 callersFunctionmessage
(recipients: string | string[], extra?: { [key: string]: any })
test/mailer/max-recipients-test.ts:16
↓ 1 callersFunctionnormalizeDomain
* 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 callersFunctionnormalizeHostname
(raw: string, href: string)
src/shared/url.ts:128
↓ 1 callersFunctionnormalizeService
(service: WellKnownServiceDefinition)
src/well-known/index.ts:53
↓ 1 callersFunctionopen
(data: any)
test/mailer/mail-message-test.ts:137
↓ 1 callersFunctionparse
(chunks: (Buffer | string)[])
test/dkim/message-parser-test.ts:72
↓ 1 callersFunctionparseFetchUrl
* 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 callersFunctionpick
(n: number)
test/dkim/relaxed-body-test.ts:185
↓ 1 callersMethodpostRequest
* 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 callersFunctionprng
(seed: number)
test/dkim/relaxed-body-test.ts:53
↓ 1 callersFunctionproxied
(proxy: string, extra: { [key: string]: any } = {})
test/mailer/proxy-test.ts:73
↓ 1 callersFunctionproxyConnect
( port: number, host: string, destinationPort: number, destinationHost: string, callback:
test/smtp-connection/smtp-connection-test.ts:2126
↓ 1 callersFunctionquote
(value)
scripts/build.js:26
↓ 1 callersFunctionreadNext
()
test/dkim/dkim-test.ts:63
↓ 1 callersMethodrecord
(message: any)
test/shared/shared-test.ts:70
↓ 1 callersFunctionreference
(body: string)
test/dkim/relaxed-body-test.ts:37
↓ 1 callersFunctionrelaxed
(line: string)
test/dkim/sign-test.ts:187
↓ 1 callersFunctionrelaxedHeaders
(headers: MessageParserHeaderLine[], fieldNames?: string, skipFields?: string)
src/dkim/sign.ts:115
↓ 1 callersFunctionrender
(data: SendMailOptions)
test/mailer/mail-message-test.ts:254
↓ 1 callersFunctionrender
(options: { [key: string]: any }, data: SendMailOptions)
test/mailer/mail-test.ts:56
↓ 1 callersFunctionresolveContentValue
( data: { [key: string]: any }, key: string | number, options: ResolveContentOptions, callback
src/shared/index.ts:741
↓ 1 callersFunctionresolveStream
* Streams a stream value into a Buffer * * @param stream Readable stream * @param callback Callback function with (err, value)
src/shared/index.ts:867
↓ 1 callersFunctionrespond
(status: number, payload: string, contentType?: string)
test/xoauth2/xoauth2-test.ts:492
↓ 1 callersFunctionrunTest
(socket: net.Socket)
test/smtp-connection/smtp-connection-test.ts:935
↓ 1 callersFunctionrunTsc
(project)
scripts/build.js:68
↓ 1 callersFunctionsafeDone
(server: TestServer, done: (err?: any) => void, fn: () => void)
test/smtp-connection/smtp-connection-test.ts:106
↓ 1 callersFunctionsafeEncodeURIComponent
(str: string)
src/mime-funcs/index.ts:685
← previousnext →201–300 of 546, ranked by callers