@types/nodemailer 6.4.18 → 6.4.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
nodemailer v6.4/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for nodemailer (https://github.com/nodema
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer/v6.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 29 Sep 2025 19:02:13 GMT
|
|
12
12
|
* Dependencies: [@aws-sdk/client-ses](https://npmjs.com/package/@aws-sdk/client-ses), [@types/node](https://npmjs.com/package/@types/node)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -155,6 +155,10 @@ declare namespace Mail {
|
|
|
155
155
|
priority?: "high" | "normal" | "low" | undefined;
|
|
156
156
|
/** if set to true then converts data:images in the HTML content of message to embedded attachments */
|
|
157
157
|
attachDataUrls?: boolean | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* if set to false then removes x-mailer header, otherwise replaces the default x-mailer header value
|
|
160
|
+
*/
|
|
161
|
+
xMailer?: false | string;
|
|
158
162
|
}
|
|
159
163
|
|
|
160
164
|
type PluginFunction<T = any> = (mail: MailMessage<T>, callback: (err?: Error | null) => void) => void;
|
|
@@ -192,7 +196,9 @@ declare class Mail<T = any, DefaultTransportOptions = TransportOptions> extends
|
|
|
192
196
|
mailOptions: Mail.Options & Partial<DefaultTransportOptions>,
|
|
193
197
|
callback: (err: Error | null, info: T) => void,
|
|
194
198
|
): void;
|
|
199
|
+
sendMail(mailOptions: Mail.Options, callback: (err: Error | null, info: T) => void): void;
|
|
195
200
|
sendMail(mailOptions: Mail.Options & Partial<DefaultTransportOptions>): Promise<T>;
|
|
201
|
+
sendMail(mailOptions: Mail.Options): Promise<T>;
|
|
196
202
|
|
|
197
203
|
getVersionString(): string;
|
|
198
204
|
|
nodemailer v6.4/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/nodemailer",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.20",
|
|
4
4
|
"description": "TypeScript definitions for nodemailer",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,6 +34,6 @@
|
|
|
34
34
|
"@types/node": "*"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {},
|
|
37
|
-
"typesPublisherContentHash": "
|
|
37
|
+
"typesPublisherContentHash": "85468ddda6c30bb29564099dcd4c1a3610e206150c252ec4d9e9248e05293e83",
|
|
38
38
|
"typeScriptVersion": "5.2"
|
|
39
39
|
}
|