@depup/nodemailer 7.0.12-depup.0

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.
Files changed (47) hide show
  1. package/.gitattributes +6 -0
  2. package/.ncurc.js +9 -0
  3. package/.prettierignore +8 -0
  4. package/.prettierrc +12 -0
  5. package/.prettierrc.js +10 -0
  6. package/.release-please-config.json +9 -0
  7. package/CHANGELOG.md +929 -0
  8. package/CODE_OF_CONDUCT.md +76 -0
  9. package/LICENSE +16 -0
  10. package/README.md +86 -0
  11. package/SECURITY.txt +22 -0
  12. package/eslint.config.js +88 -0
  13. package/lib/addressparser/index.js +383 -0
  14. package/lib/base64/index.js +139 -0
  15. package/lib/dkim/index.js +253 -0
  16. package/lib/dkim/message-parser.js +155 -0
  17. package/lib/dkim/relaxed-body.js +154 -0
  18. package/lib/dkim/sign.js +117 -0
  19. package/lib/fetch/cookies.js +281 -0
  20. package/lib/fetch/index.js +280 -0
  21. package/lib/json-transport/index.js +82 -0
  22. package/lib/mail-composer/index.js +629 -0
  23. package/lib/mailer/index.js +441 -0
  24. package/lib/mailer/mail-message.js +316 -0
  25. package/lib/mime-funcs/index.js +625 -0
  26. package/lib/mime-funcs/mime-types.js +2113 -0
  27. package/lib/mime-node/index.js +1316 -0
  28. package/lib/mime-node/last-newline.js +33 -0
  29. package/lib/mime-node/le-unix.js +43 -0
  30. package/lib/mime-node/le-windows.js +52 -0
  31. package/lib/nodemailer.js +157 -0
  32. package/lib/punycode/index.js +460 -0
  33. package/lib/qp/index.js +227 -0
  34. package/lib/sendmail-transport/index.js +210 -0
  35. package/lib/ses-transport/index.js +234 -0
  36. package/lib/shared/index.js +754 -0
  37. package/lib/smtp-connection/data-stream.js +108 -0
  38. package/lib/smtp-connection/http-proxy-client.js +143 -0
  39. package/lib/smtp-connection/index.js +1865 -0
  40. package/lib/smtp-pool/index.js +652 -0
  41. package/lib/smtp-pool/pool-resource.js +259 -0
  42. package/lib/smtp-transport/index.js +421 -0
  43. package/lib/stream-transport/index.js +135 -0
  44. package/lib/well-known/index.js +47 -0
  45. package/lib/well-known/services.json +611 -0
  46. package/lib/xoauth2/index.js +427 -0
  47. package/package.json +47 -0
@@ -0,0 +1,611 @@
1
+ {
2
+ "1und1": {
3
+ "description": "1&1 Mail (German hosting provider)",
4
+ "host": "smtp.1und1.de",
5
+ "port": 465,
6
+ "secure": true,
7
+ "authMethod": "LOGIN"
8
+ },
9
+
10
+ "126": {
11
+ "description": "126 Mail (NetEase)",
12
+ "host": "smtp.126.com",
13
+ "port": 465,
14
+ "secure": true
15
+ },
16
+
17
+ "163": {
18
+ "description": "163 Mail (NetEase)",
19
+ "host": "smtp.163.com",
20
+ "port": 465,
21
+ "secure": true
22
+ },
23
+
24
+ "Aliyun": {
25
+ "description": "Alibaba Cloud Mail",
26
+ "domains": ["aliyun.com"],
27
+ "host": "smtp.aliyun.com",
28
+ "port": 465,
29
+ "secure": true
30
+ },
31
+
32
+ "AliyunQiye": {
33
+ "description": "Alibaba Cloud Enterprise Mail",
34
+ "host": "smtp.qiye.aliyun.com",
35
+ "port": 465,
36
+ "secure": true
37
+ },
38
+
39
+ "AOL": {
40
+ "description": "AOL Mail",
41
+ "domains": ["aol.com"],
42
+ "host": "smtp.aol.com",
43
+ "port": 587
44
+ },
45
+
46
+ "Aruba": {
47
+ "description": "Aruba PEC (Italian email provider)",
48
+ "domains": ["aruba.it", "pec.aruba.it"],
49
+ "aliases": ["Aruba PEC"],
50
+ "host": "smtps.aruba.it",
51
+ "port": 465,
52
+ "secure": true,
53
+ "authMethod": "LOGIN"
54
+ },
55
+
56
+ "Bluewin": {
57
+ "description": "Bluewin (Swiss email provider)",
58
+ "host": "smtpauths.bluewin.ch",
59
+ "domains": ["bluewin.ch"],
60
+ "port": 465
61
+ },
62
+
63
+ "BOL": {
64
+ "description": "BOL Mail (Brazilian provider)",
65
+ "domains": ["bol.com.br"],
66
+ "host": "smtp.bol.com.br",
67
+ "port": 587,
68
+ "requireTLS": true
69
+ },
70
+
71
+ "DebugMail": {
72
+ "description": "DebugMail (email testing service)",
73
+ "host": "debugmail.io",
74
+ "port": 25
75
+ },
76
+
77
+ "Disroot": {
78
+ "description": "Disroot (privacy-focused provider)",
79
+ "domains": ["disroot.org"],
80
+ "host": "disroot.org",
81
+ "port": 587,
82
+ "secure": false,
83
+ "authMethod": "LOGIN"
84
+ },
85
+
86
+ "DynectEmail": {
87
+ "description": "Dyn Email Delivery",
88
+ "aliases": ["Dynect"],
89
+ "host": "smtp.dynect.net",
90
+ "port": 25
91
+ },
92
+
93
+ "ElasticEmail": {
94
+ "description": "Elastic Email",
95
+ "aliases": ["Elastic Email"],
96
+ "host": "smtp.elasticemail.com",
97
+ "port": 465,
98
+ "secure": true
99
+ },
100
+
101
+ "Ethereal": {
102
+ "description": "Ethereal Email (email testing service)",
103
+ "aliases": ["ethereal.email"],
104
+ "host": "smtp.ethereal.email",
105
+ "port": 587
106
+ },
107
+
108
+ "FastMail": {
109
+ "description": "FastMail",
110
+ "domains": ["fastmail.fm"],
111
+ "host": "smtp.fastmail.com",
112
+ "port": 465,
113
+ "secure": true
114
+ },
115
+
116
+ "Feishu Mail": {
117
+ "description": "Feishu Mail (Lark)",
118
+ "aliases": ["Feishu", "FeishuMail"],
119
+ "domains": ["www.feishu.cn"],
120
+ "host": "smtp.feishu.cn",
121
+ "port": 465,
122
+ "secure": true
123
+ },
124
+
125
+ "Forward Email": {
126
+ "description": "Forward Email (email forwarding service)",
127
+ "aliases": ["FE", "ForwardEmail"],
128
+ "domains": ["forwardemail.net"],
129
+ "host": "smtp.forwardemail.net",
130
+ "port": 465,
131
+ "secure": true
132
+ },
133
+
134
+ "GandiMail": {
135
+ "description": "Gandi Mail",
136
+ "aliases": ["Gandi", "Gandi Mail"],
137
+ "host": "mail.gandi.net",
138
+ "port": 587
139
+ },
140
+
141
+ "Gmail": {
142
+ "description": "Gmail",
143
+ "aliases": ["Google Mail"],
144
+ "domains": ["gmail.com", "googlemail.com"],
145
+ "host": "smtp.gmail.com",
146
+ "port": 465,
147
+ "secure": true
148
+ },
149
+
150
+ "GMX": {
151
+ "description": "GMX Mail",
152
+ "domains": ["gmx.com", "gmx.net", "gmx.de"],
153
+ "host": "mail.gmx.com",
154
+ "port": 587
155
+ },
156
+
157
+ "Godaddy": {
158
+ "description": "GoDaddy Email (US)",
159
+ "host": "smtpout.secureserver.net",
160
+ "port": 25
161
+ },
162
+
163
+ "GodaddyAsia": {
164
+ "description": "GoDaddy Email (Asia)",
165
+ "host": "smtp.asia.secureserver.net",
166
+ "port": 25
167
+ },
168
+
169
+ "GodaddyEurope": {
170
+ "description": "GoDaddy Email (Europe)",
171
+ "host": "smtp.europe.secureserver.net",
172
+ "port": 25
173
+ },
174
+
175
+ "hot.ee": {
176
+ "description": "Hot.ee (Estonian email provider)",
177
+ "host": "mail.hot.ee"
178
+ },
179
+
180
+ "Hotmail": {
181
+ "description": "Outlook.com / Hotmail",
182
+ "aliases": ["Outlook", "Outlook.com", "Hotmail.com"],
183
+ "domains": ["hotmail.com", "outlook.com"],
184
+ "host": "smtp-mail.outlook.com",
185
+ "port": 587
186
+ },
187
+
188
+ "iCloud": {
189
+ "description": "iCloud Mail",
190
+ "aliases": ["Me", "Mac"],
191
+ "domains": ["me.com", "mac.com"],
192
+ "host": "smtp.mail.me.com",
193
+ "port": 587
194
+ },
195
+
196
+ "Infomaniak": {
197
+ "description": "Infomaniak Mail (Swiss hosting provider)",
198
+ "host": "mail.infomaniak.com",
199
+ "domains": ["ik.me", "ikmail.com", "etik.com"],
200
+ "port": 587
201
+ },
202
+
203
+ "KolabNow": {
204
+ "description": "KolabNow (secure email service)",
205
+ "domains": ["kolabnow.com"],
206
+ "aliases": ["Kolab"],
207
+ "host": "smtp.kolabnow.com",
208
+ "port": 465,
209
+ "secure": true,
210
+ "authMethod": "LOGIN"
211
+ },
212
+
213
+ "Loopia": {
214
+ "description": "Loopia (Swedish hosting provider)",
215
+ "host": "mailcluster.loopia.se",
216
+ "port": 465
217
+ },
218
+
219
+ "Loops": {
220
+ "description": "Loops",
221
+ "host": "smtp.loops.so",
222
+ "port": 587
223
+ },
224
+
225
+ "mail.ee": {
226
+ "description": "Mail.ee (Estonian email provider)",
227
+ "host": "smtp.mail.ee"
228
+ },
229
+
230
+ "Mail.ru": {
231
+ "description": "Mail.ru",
232
+ "host": "smtp.mail.ru",
233
+ "port": 465,
234
+ "secure": true
235
+ },
236
+
237
+ "Mailcatch.app": {
238
+ "description": "Mailcatch (email testing service)",
239
+ "host": "sandbox-smtp.mailcatch.app",
240
+ "port": 2525
241
+ },
242
+
243
+ "Maildev": {
244
+ "description": "MailDev (local email testing)",
245
+ "port": 1025,
246
+ "ignoreTLS": true
247
+ },
248
+
249
+ "MailerSend": {
250
+ "description": "MailerSend",
251
+ "host": "smtp.mailersend.net",
252
+ "port": 587
253
+ },
254
+
255
+ "Mailgun": {
256
+ "description": "Mailgun",
257
+ "host": "smtp.mailgun.org",
258
+ "port": 465,
259
+ "secure": true
260
+ },
261
+
262
+ "Mailjet": {
263
+ "description": "Mailjet",
264
+ "host": "in.mailjet.com",
265
+ "port": 587
266
+ },
267
+
268
+ "Mailosaur": {
269
+ "description": "Mailosaur (email testing service)",
270
+ "host": "mailosaur.io",
271
+ "port": 25
272
+ },
273
+
274
+ "Mailtrap": {
275
+ "description": "Mailtrap",
276
+ "host": "live.smtp.mailtrap.io",
277
+ "port": 587
278
+ },
279
+
280
+ "Mandrill": {
281
+ "description": "Mandrill (by Mailchimp)",
282
+ "host": "smtp.mandrillapp.com",
283
+ "port": 587
284
+ },
285
+
286
+ "Naver": {
287
+ "description": "Naver Mail (Korean email provider)",
288
+ "host": "smtp.naver.com",
289
+ "port": 587
290
+ },
291
+
292
+ "OhMySMTP": {
293
+ "description": "OhMySMTP (email delivery service)",
294
+ "host": "smtp.ohmysmtp.com",
295
+ "port": 587,
296
+ "secure": false
297
+ },
298
+
299
+ "One": {
300
+ "description": "One.com Email",
301
+ "host": "send.one.com",
302
+ "port": 465,
303
+ "secure": true
304
+ },
305
+
306
+ "OpenMailBox": {
307
+ "description": "OpenMailBox",
308
+ "aliases": ["OMB", "openmailbox.org"],
309
+ "host": "smtp.openmailbox.org",
310
+ "port": 465,
311
+ "secure": true
312
+ },
313
+
314
+ "Outlook365": {
315
+ "description": "Microsoft 365 / Office 365",
316
+ "host": "smtp.office365.com",
317
+ "port": 587,
318
+ "secure": false
319
+ },
320
+
321
+ "Postmark": {
322
+ "description": "Postmark",
323
+ "aliases": ["PostmarkApp"],
324
+ "host": "smtp.postmarkapp.com",
325
+ "port": 2525
326
+ },
327
+
328
+ "Proton": {
329
+ "description": "Proton Mail",
330
+ "aliases": ["ProtonMail", "Proton.me", "Protonmail.com", "Protonmail.ch"],
331
+ "domains": ["proton.me", "protonmail.com", "pm.me", "protonmail.ch"],
332
+ "host": "smtp.protonmail.ch",
333
+ "port": 587,
334
+ "requireTLS": true
335
+ },
336
+
337
+ "qiye.aliyun": {
338
+ "description": "Alibaba Mail Enterprise Edition",
339
+ "host": "smtp.mxhichina.com",
340
+ "port": "465",
341
+ "secure": true
342
+ },
343
+
344
+ "QQ": {
345
+ "description": "QQ Mail",
346
+ "domains": ["qq.com"],
347
+ "host": "smtp.qq.com",
348
+ "port": 465,
349
+ "secure": true
350
+ },
351
+
352
+ "QQex": {
353
+ "description": "QQ Enterprise Mail",
354
+ "aliases": ["QQ Enterprise"],
355
+ "domains": ["exmail.qq.com"],
356
+ "host": "smtp.exmail.qq.com",
357
+ "port": 465,
358
+ "secure": true
359
+ },
360
+
361
+ "Resend": {
362
+ "description": "Resend",
363
+ "host": "smtp.resend.com",
364
+ "port": 465,
365
+ "secure": true
366
+ },
367
+
368
+ "Runbox": {
369
+ "description": "Runbox (Norwegian email provider)",
370
+ "domains": ["runbox.com"],
371
+ "host": "smtp.runbox.com",
372
+ "port": 465,
373
+ "secure": true
374
+ },
375
+
376
+ "SendCloud": {
377
+ "description": "SendCloud (Chinese email delivery)",
378
+ "host": "smtp.sendcloud.net",
379
+ "port": 2525
380
+ },
381
+
382
+ "SendGrid": {
383
+ "description": "SendGrid",
384
+ "host": "smtp.sendgrid.net",
385
+ "port": 587
386
+ },
387
+
388
+ "SendinBlue": {
389
+ "description": "Brevo (formerly Sendinblue)",
390
+ "aliases": ["Brevo"],
391
+ "host": "smtp-relay.brevo.com",
392
+ "port": 587
393
+ },
394
+
395
+ "SendPulse": {
396
+ "description": "SendPulse",
397
+ "host": "smtp-pulse.com",
398
+ "port": 465,
399
+ "secure": true
400
+ },
401
+
402
+ "SES": {
403
+ "description": "AWS SES US East (N. Virginia)",
404
+ "host": "email-smtp.us-east-1.amazonaws.com",
405
+ "port": 465,
406
+ "secure": true
407
+ },
408
+
409
+ "SES-AP-NORTHEAST-1": {
410
+ "description": "AWS SES Asia Pacific (Tokyo)",
411
+ "host": "email-smtp.ap-northeast-1.amazonaws.com",
412
+ "port": 465,
413
+ "secure": true
414
+ },
415
+
416
+ "SES-AP-NORTHEAST-2": {
417
+ "description": "AWS SES Asia Pacific (Seoul)",
418
+ "host": "email-smtp.ap-northeast-2.amazonaws.com",
419
+ "port": 465,
420
+ "secure": true
421
+ },
422
+
423
+ "SES-AP-NORTHEAST-3": {
424
+ "description": "AWS SES Asia Pacific (Osaka)",
425
+ "host": "email-smtp.ap-northeast-3.amazonaws.com",
426
+ "port": 465,
427
+ "secure": true
428
+ },
429
+
430
+ "SES-AP-SOUTH-1": {
431
+ "description": "AWS SES Asia Pacific (Mumbai)",
432
+ "host": "email-smtp.ap-south-1.amazonaws.com",
433
+ "port": 465,
434
+ "secure": true
435
+ },
436
+
437
+ "SES-AP-SOUTHEAST-1": {
438
+ "description": "AWS SES Asia Pacific (Singapore)",
439
+ "host": "email-smtp.ap-southeast-1.amazonaws.com",
440
+ "port": 465,
441
+ "secure": true
442
+ },
443
+
444
+ "SES-AP-SOUTHEAST-2": {
445
+ "description": "AWS SES Asia Pacific (Sydney)",
446
+ "host": "email-smtp.ap-southeast-2.amazonaws.com",
447
+ "port": 465,
448
+ "secure": true
449
+ },
450
+
451
+ "SES-CA-CENTRAL-1": {
452
+ "description": "AWS SES Canada (Central)",
453
+ "host": "email-smtp.ca-central-1.amazonaws.com",
454
+ "port": 465,
455
+ "secure": true
456
+ },
457
+
458
+ "SES-EU-CENTRAL-1": {
459
+ "description": "AWS SES Europe (Frankfurt)",
460
+ "host": "email-smtp.eu-central-1.amazonaws.com",
461
+ "port": 465,
462
+ "secure": true
463
+ },
464
+
465
+ "SES-EU-NORTH-1": {
466
+ "description": "AWS SES Europe (Stockholm)",
467
+ "host": "email-smtp.eu-north-1.amazonaws.com",
468
+ "port": 465,
469
+ "secure": true
470
+ },
471
+
472
+ "SES-EU-WEST-1": {
473
+ "description": "AWS SES Europe (Ireland)",
474
+ "host": "email-smtp.eu-west-1.amazonaws.com",
475
+ "port": 465,
476
+ "secure": true
477
+ },
478
+
479
+ "SES-EU-WEST-2": {
480
+ "description": "AWS SES Europe (London)",
481
+ "host": "email-smtp.eu-west-2.amazonaws.com",
482
+ "port": 465,
483
+ "secure": true
484
+ },
485
+
486
+ "SES-EU-WEST-3": {
487
+ "description": "AWS SES Europe (Paris)",
488
+ "host": "email-smtp.eu-west-3.amazonaws.com",
489
+ "port": 465,
490
+ "secure": true
491
+ },
492
+
493
+ "SES-SA-EAST-1": {
494
+ "description": "AWS SES South America (São Paulo)",
495
+ "host": "email-smtp.sa-east-1.amazonaws.com",
496
+ "port": 465,
497
+ "secure": true
498
+ },
499
+
500
+ "SES-US-EAST-1": {
501
+ "description": "AWS SES US East (N. Virginia)",
502
+ "host": "email-smtp.us-east-1.amazonaws.com",
503
+ "port": 465,
504
+ "secure": true
505
+ },
506
+
507
+ "SES-US-EAST-2": {
508
+ "description": "AWS SES US East (Ohio)",
509
+ "host": "email-smtp.us-east-2.amazonaws.com",
510
+ "port": 465,
511
+ "secure": true
512
+ },
513
+
514
+ "SES-US-GOV-EAST-1": {
515
+ "description": "AWS SES GovCloud (US-East)",
516
+ "host": "email-smtp.us-gov-east-1.amazonaws.com",
517
+ "port": 465,
518
+ "secure": true
519
+ },
520
+
521
+ "SES-US-GOV-WEST-1": {
522
+ "description": "AWS SES GovCloud (US-West)",
523
+ "host": "email-smtp.us-gov-west-1.amazonaws.com",
524
+ "port": 465,
525
+ "secure": true
526
+ },
527
+
528
+ "SES-US-WEST-1": {
529
+ "description": "AWS SES US West (N. California)",
530
+ "host": "email-smtp.us-west-1.amazonaws.com",
531
+ "port": 465,
532
+ "secure": true
533
+ },
534
+
535
+ "SES-US-WEST-2": {
536
+ "description": "AWS SES US West (Oregon)",
537
+ "host": "email-smtp.us-west-2.amazonaws.com",
538
+ "port": 465,
539
+ "secure": true
540
+ },
541
+
542
+ "Seznam": {
543
+ "description": "Seznam Email (Czech email provider)",
544
+ "aliases": ["Seznam Email"],
545
+ "domains": ["seznam.cz", "email.cz", "post.cz", "spoluzaci.cz"],
546
+ "host": "smtp.seznam.cz",
547
+ "port": 465,
548
+ "secure": true
549
+ },
550
+
551
+ "SMTP2GO": {
552
+ "description": "SMTP2GO",
553
+ "host": "mail.smtp2go.com",
554
+ "port": 2525
555
+ },
556
+
557
+ "Sparkpost": {
558
+ "description": "SparkPost",
559
+ "aliases": ["SparkPost", "SparkPost Mail"],
560
+ "domains": ["sparkpost.com"],
561
+ "host": "smtp.sparkpostmail.com",
562
+ "port": 587,
563
+ "secure": false
564
+ },
565
+
566
+ "Tipimail": {
567
+ "description": "Tipimail (email delivery service)",
568
+ "host": "smtp.tipimail.com",
569
+ "port": 587
570
+ },
571
+
572
+ "Tutanota": {
573
+ "description": "Tutanota (Tuta Mail)",
574
+ "domains": ["tutanota.com", "tuta.com", "tutanota.de", "tuta.io"],
575
+ "host": "smtp.tutanota.com",
576
+ "port": 465,
577
+ "secure": true
578
+ },
579
+
580
+ "Yahoo": {
581
+ "description": "Yahoo Mail",
582
+ "domains": ["yahoo.com"],
583
+ "host": "smtp.mail.yahoo.com",
584
+ "port": 465,
585
+ "secure": true
586
+ },
587
+
588
+ "Yandex": {
589
+ "description": "Yandex Mail",
590
+ "domains": ["yandex.ru"],
591
+ "host": "smtp.yandex.ru",
592
+ "port": 465,
593
+ "secure": true
594
+ },
595
+
596
+ "Zimbra": {
597
+ "description": "Zimbra Mail Server",
598
+ "aliases": ["Zimbra Collaboration"],
599
+ "host": "smtp.zimbra.com",
600
+ "port": 587,
601
+ "requireTLS": true
602
+ },
603
+
604
+ "Zoho": {
605
+ "description": "Zoho Mail",
606
+ "host": "smtp.zoho.com",
607
+ "port": 465,
608
+ "secure": true,
609
+ "authMethod": "LOGIN"
610
+ }
611
+ }