m06_task3.js 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (204) hide show
  1. package/.idea/.name +1 -0
  2. package/.idea/inspectionProfiles/Project_Default.xml +10 -0
  3. package/.idea/jsLibraryMappings.xml +6 -0
  4. package/.idea/modules.xml +8 -0
  5. package/.idea/node_lab_6.iml +12 -0
  6. package/06_task2.html +73 -0
  7. package/06_task2.js +52 -0
  8. package/06_task3.js +3 -0
  9. package/06_task4.js +3 -0
  10. package/m06_task3.js +28 -0
  11. package/package/index.js +28 -0
  12. package/package/node_modules/.package-lock.json +31 -0
  13. package/package/node_modules/@types/node/LICENSE +21 -0
  14. package/package/node_modules/@types/node/README.md +16 -0
  15. package/package/node_modules/@types/node/assert/strict.d.ts +8 -0
  16. package/package/node_modules/@types/node/assert.d.ts +961 -0
  17. package/package/node_modules/@types/node/async_hooks.d.ts +501 -0
  18. package/package/node_modules/@types/node/buffer.d.ts +2258 -0
  19. package/package/node_modules/@types/node/child_process.d.ts +1369 -0
  20. package/package/node_modules/@types/node/cluster.d.ts +410 -0
  21. package/package/node_modules/@types/node/console.d.ts +412 -0
  22. package/package/node_modules/@types/node/constants.d.ts +18 -0
  23. package/package/node_modules/@types/node/crypto.d.ts +3964 -0
  24. package/package/node_modules/@types/node/dgram.d.ts +545 -0
  25. package/package/node_modules/@types/node/diagnostics_channel.d.ts +153 -0
  26. package/package/node_modules/@types/node/dns/promises.d.ts +370 -0
  27. package/package/node_modules/@types/node/dns.d.ts +659 -0
  28. package/package/node_modules/@types/node/dom-events.d.ts +126 -0
  29. package/package/node_modules/@types/node/domain.d.ts +170 -0
  30. package/package/node_modules/@types/node/events.d.ts +678 -0
  31. package/package/node_modules/@types/node/fs/promises.d.ts +1138 -0
  32. package/package/node_modules/@types/node/fs.d.ts +3872 -0
  33. package/package/node_modules/@types/node/globals.d.ts +300 -0
  34. package/package/node_modules/@types/node/globals.global.d.ts +1 -0
  35. package/package/node_modules/@types/node/http.d.ts +1614 -0
  36. package/package/node_modules/@types/node/http2.d.ts +2134 -0
  37. package/package/node_modules/@types/node/https.d.ts +541 -0
  38. package/package/node_modules/@types/node/index.d.ts +133 -0
  39. package/package/node_modules/@types/node/inspector.d.ts +2741 -0
  40. package/package/node_modules/@types/node/module.d.ts +114 -0
  41. package/package/node_modules/@types/node/net.d.ts +869 -0
  42. package/package/node_modules/@types/node/os.d.ts +466 -0
  43. package/package/node_modules/@types/node/package.json +232 -0
  44. package/package/node_modules/@types/node/path.d.ts +191 -0
  45. package/package/node_modules/@types/node/perf_hooks.d.ts +625 -0
  46. package/package/node_modules/@types/node/process.d.ts +1482 -0
  47. package/package/node_modules/@types/node/punycode.d.ts +117 -0
  48. package/package/node_modules/@types/node/querystring.d.ts +131 -0
  49. package/package/node_modules/@types/node/readline/promises.d.ts +143 -0
  50. package/package/node_modules/@types/node/readline.d.ts +653 -0
  51. package/package/node_modules/@types/node/repl.d.ts +424 -0
  52. package/package/node_modules/@types/node/stream/consumers.d.ts +12 -0
  53. package/package/node_modules/@types/node/stream/promises.d.ts +42 -0
  54. package/package/node_modules/@types/node/stream/web.d.ts +330 -0
  55. package/package/node_modules/@types/node/stream.d.ts +1340 -0
  56. package/package/node_modules/@types/node/string_decoder.d.ts +67 -0
  57. package/package/node_modules/@types/node/test.d.ts +314 -0
  58. package/package/node_modules/@types/node/timers/promises.d.ts +68 -0
  59. package/package/node_modules/@types/node/timers.d.ts +94 -0
  60. package/package/node_modules/@types/node/tls.d.ts +1028 -0
  61. package/package/node_modules/@types/node/trace_events.d.ts +171 -0
  62. package/package/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
  63. package/package/node_modules/@types/node/ts4.8/assert.d.ts +961 -0
  64. package/package/node_modules/@types/node/ts4.8/async_hooks.d.ts +501 -0
  65. package/package/node_modules/@types/node/ts4.8/buffer.d.ts +2259 -0
  66. package/package/node_modules/@types/node/ts4.8/child_process.d.ts +1369 -0
  67. package/package/node_modules/@types/node/ts4.8/cluster.d.ts +410 -0
  68. package/package/node_modules/@types/node/ts4.8/console.d.ts +412 -0
  69. package/package/node_modules/@types/node/ts4.8/constants.d.ts +18 -0
  70. package/package/node_modules/@types/node/ts4.8/crypto.d.ts +3964 -0
  71. package/package/node_modules/@types/node/ts4.8/dgram.d.ts +545 -0
  72. package/package/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +153 -0
  73. package/package/node_modules/@types/node/ts4.8/dns/promises.d.ts +370 -0
  74. package/package/node_modules/@types/node/ts4.8/dns.d.ts +659 -0
  75. package/package/node_modules/@types/node/ts4.8/dom-events.d.ts +126 -0
  76. package/package/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
  77. package/package/node_modules/@types/node/ts4.8/events.d.ts +678 -0
  78. package/package/node_modules/@types/node/ts4.8/fs/promises.d.ts +1138 -0
  79. package/package/node_modules/@types/node/ts4.8/fs.d.ts +3872 -0
  80. package/package/node_modules/@types/node/ts4.8/globals.d.ts +294 -0
  81. package/package/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  82. package/package/node_modules/@types/node/ts4.8/http.d.ts +1614 -0
  83. package/package/node_modules/@types/node/ts4.8/http2.d.ts +2134 -0
  84. package/package/node_modules/@types/node/ts4.8/https.d.ts +541 -0
  85. package/package/node_modules/@types/node/ts4.8/index.d.ts +88 -0
  86. package/package/node_modules/@types/node/ts4.8/inspector.d.ts +2741 -0
  87. package/package/node_modules/@types/node/ts4.8/module.d.ts +114 -0
  88. package/package/node_modules/@types/node/ts4.8/net.d.ts +869 -0
  89. package/package/node_modules/@types/node/ts4.8/os.d.ts +466 -0
  90. package/package/node_modules/@types/node/ts4.8/path.d.ts +191 -0
  91. package/package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +625 -0
  92. package/package/node_modules/@types/node/ts4.8/process.d.ts +1482 -0
  93. package/package/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
  94. package/package/node_modules/@types/node/ts4.8/querystring.d.ts +131 -0
  95. package/package/node_modules/@types/node/ts4.8/readline/promises.d.ts +143 -0
  96. package/package/node_modules/@types/node/ts4.8/readline.d.ts +653 -0
  97. package/package/node_modules/@types/node/ts4.8/repl.d.ts +424 -0
  98. package/package/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
  99. package/package/node_modules/@types/node/ts4.8/stream/promises.d.ts +42 -0
  100. package/package/node_modules/@types/node/ts4.8/stream/web.d.ts +330 -0
  101. package/package/node_modules/@types/node/ts4.8/stream.d.ts +1340 -0
  102. package/package/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
  103. package/package/node_modules/@types/node/ts4.8/test.d.ts +314 -0
  104. package/package/node_modules/@types/node/ts4.8/timers/promises.d.ts +68 -0
  105. package/package/node_modules/@types/node/ts4.8/timers.d.ts +94 -0
  106. package/package/node_modules/@types/node/ts4.8/tls.d.ts +1028 -0
  107. package/package/node_modules/@types/node/ts4.8/trace_events.d.ts +171 -0
  108. package/package/node_modules/@types/node/ts4.8/tty.d.ts +206 -0
  109. package/package/node_modules/@types/node/ts4.8/url.d.ts +897 -0
  110. package/package/node_modules/@types/node/ts4.8/util.d.ts +1850 -0
  111. package/package/node_modules/@types/node/ts4.8/v8.d.ts +396 -0
  112. package/package/node_modules/@types/node/ts4.8/vm.d.ts +509 -0
  113. package/package/node_modules/@types/node/ts4.8/wasi.d.ts +158 -0
  114. package/package/node_modules/@types/node/ts4.8/worker_threads.d.ts +689 -0
  115. package/package/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
  116. package/package/node_modules/@types/node/tty.d.ts +206 -0
  117. package/package/node_modules/@types/node/url.d.ts +897 -0
  118. package/package/node_modules/@types/node/util.d.ts +1850 -0
  119. package/package/node_modules/@types/node/v8.d.ts +396 -0
  120. package/package/node_modules/@types/node/vm.d.ts +509 -0
  121. package/package/node_modules/@types/node/wasi.d.ts +158 -0
  122. package/package/node_modules/@types/node/worker_threads.d.ts +689 -0
  123. package/package/node_modules/@types/node/zlib.d.ts +517 -0
  124. package/package/node_modules/@types/nodemailer/LICENSE +21 -0
  125. package/package/node_modules/@types/nodemailer/README.md +16 -0
  126. package/package/node_modules/@types/nodemailer/index.d.ts +83 -0
  127. package/package/node_modules/@types/nodemailer/lib/addressparser/index.d.ts +31 -0
  128. package/package/node_modules/@types/nodemailer/lib/base64/index.d.ts +22 -0
  129. package/package/node_modules/@types/nodemailer/lib/dkim/index.d.ts +45 -0
  130. package/package/node_modules/@types/nodemailer/lib/dkim/message-parser.d.ts +75 -0
  131. package/package/node_modules/@types/nodemailer/lib/dkim/relaxed-body.d.ts +75 -0
  132. package/package/node_modules/@types/nodemailer/lib/dkim/sign.d.ts +11 -0
  133. package/package/node_modules/@types/nodemailer/lib/fetch/cookies.d.ts +54 -0
  134. package/package/node_modules/@types/nodemailer/lib/fetch/index.d.ts +38 -0
  135. package/package/node_modules/@types/nodemailer/lib/json-transport/index.d.ts +50 -0
  136. package/package/node_modules/@types/nodemailer/lib/mail-composer/index.d.ts +25 -0
  137. package/package/node_modules/@types/nodemailer/lib/mailer/index.d.ts +230 -0
  138. package/package/node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts +28 -0
  139. package/package/node_modules/@types/nodemailer/lib/mime-funcs/index.d.ts +87 -0
  140. package/package/node_modules/@types/nodemailer/lib/mime-funcs/mime-types.d.ts +2 -0
  141. package/package/node_modules/@types/nodemailer/lib/mime-node/index.d.ts +137 -0
  142. package/package/node_modules/@types/nodemailer/lib/mime-node/last-newline.d.ts +9 -0
  143. package/package/node_modules/@types/nodemailer/lib/qp/index.d.ts +23 -0
  144. package/package/node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts +53 -0
  145. package/package/node_modules/@types/nodemailer/lib/sendmail-transport/le-unix.d.ts +7 -0
  146. package/package/node_modules/@types/nodemailer/lib/sendmail-transport/le-windows.d.ts +7 -0
  147. package/package/node_modules/@types/nodemailer/lib/ses-transport/index.d.ts +136 -0
  148. package/package/node_modules/@types/nodemailer/lib/shared/index.d.ts +51 -0
  149. package/package/node_modules/@types/nodemailer/lib/smtp-connection/data-stream.d.ts +11 -0
  150. package/package/node_modules/@types/nodemailer/lib/smtp-connection/http-proxy-client.d.ts +11 -0
  151. package/package/node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts +254 -0
  152. package/package/node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts +90 -0
  153. package/package/node_modules/@types/nodemailer/lib/smtp-pool/pool-resource.d.ts +66 -0
  154. package/package/node_modules/@types/nodemailer/lib/smtp-transport/index.d.ts +115 -0
  155. package/package/node_modules/@types/nodemailer/lib/stream-transport/index.d.ts +56 -0
  156. package/package/node_modules/@types/nodemailer/lib/well-known/index.d.ts +6 -0
  157. package/package/node_modules/@types/nodemailer/lib/xoauth2/index.d.ts +110 -0
  158. package/package/node_modules/@types/nodemailer/package.json +37 -0
  159. package/package/node_modules/nodemailer/.gitattributes +6 -0
  160. package/package/node_modules/nodemailer/.prettierrc.js +8 -0
  161. package/package/node_modules/nodemailer/CHANGELOG.md +715 -0
  162. package/package/node_modules/nodemailer/CODE_OF_CONDUCT.md +76 -0
  163. package/package/node_modules/nodemailer/CONTRIBUTING.md +67 -0
  164. package/package/node_modules/nodemailer/LICENSE +16 -0
  165. package/package/node_modules/nodemailer/README.md +93 -0
  166. package/package/node_modules/nodemailer/SECURITY.txt +22 -0
  167. package/package/node_modules/nodemailer/lib/addressparser/index.js +313 -0
  168. package/package/node_modules/nodemailer/lib/base64/index.js +142 -0
  169. package/package/node_modules/nodemailer/lib/dkim/index.js +251 -0
  170. package/package/node_modules/nodemailer/lib/dkim/message-parser.js +155 -0
  171. package/package/node_modules/nodemailer/lib/dkim/relaxed-body.js +154 -0
  172. package/package/node_modules/nodemailer/lib/dkim/sign.js +117 -0
  173. package/package/node_modules/nodemailer/lib/fetch/cookies.js +281 -0
  174. package/package/node_modules/nodemailer/lib/fetch/index.js +269 -0
  175. package/package/node_modules/nodemailer/lib/json-transport/index.js +82 -0
  176. package/package/node_modules/nodemailer/lib/mail-composer/index.js +558 -0
  177. package/package/node_modules/nodemailer/lib/mailer/index.js +427 -0
  178. package/package/node_modules/nodemailer/lib/mailer/mail-message.js +315 -0
  179. package/package/node_modules/nodemailer/lib/mime-funcs/index.js +619 -0
  180. package/package/node_modules/nodemailer/lib/mime-funcs/mime-types.js +2102 -0
  181. package/package/node_modules/nodemailer/lib/mime-node/index.js +1290 -0
  182. package/package/node_modules/nodemailer/lib/mime-node/last-newline.js +33 -0
  183. package/package/node_modules/nodemailer/lib/mime-node/le-unix.js +43 -0
  184. package/package/node_modules/nodemailer/lib/mime-node/le-windows.js +52 -0
  185. package/package/node_modules/nodemailer/lib/nodemailer.js +143 -0
  186. package/package/node_modules/nodemailer/lib/qp/index.js +219 -0
  187. package/package/node_modules/nodemailer/lib/sendmail-transport/index.js +210 -0
  188. package/package/node_modules/nodemailer/lib/ses-transport/index.js +349 -0
  189. package/package/node_modules/nodemailer/lib/shared/index.js +639 -0
  190. package/package/node_modules/nodemailer/lib/smtp-connection/data-stream.js +108 -0
  191. package/package/node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js +143 -0
  192. package/package/node_modules/nodemailer/lib/smtp-connection/index.js +1786 -0
  193. package/package/node_modules/nodemailer/lib/smtp-pool/index.js +648 -0
  194. package/package/node_modules/nodemailer/lib/smtp-pool/pool-resource.js +253 -0
  195. package/package/node_modules/nodemailer/lib/smtp-transport/index.js +416 -0
  196. package/package/node_modules/nodemailer/lib/stream-transport/index.js +135 -0
  197. package/package/node_modules/nodemailer/lib/well-known/index.js +47 -0
  198. package/package/node_modules/nodemailer/lib/well-known/services.json +286 -0
  199. package/package/node_modules/nodemailer/lib/xoauth2/index.js +376 -0
  200. package/package/node_modules/nodemailer/package.json +46 -0
  201. package/package/node_modules/nodemailer/postinstall.js +101 -0
  202. package/package/package-lock.json +60 -0
  203. package/package/package.json +6 -0
  204. package/package.json +19 -0
@@ -0,0 +1,715 @@
1
+ # CHANGELOG
2
+
3
+ ## 6.8.0 2022-09-28
4
+
5
+ - Add DNS timeout (huksley)
6
+ - add dns.REFUSED (lucagianfelici)
7
+
8
+ ## 6.7.8 2022-08-11
9
+
10
+ - Allow to use multiple Reply-To addresses
11
+
12
+ ## 6.7.7 2022-07-06
13
+
14
+ - Resolver fixes
15
+
16
+ ## 6.7.5 2022-05-04
17
+
18
+ - No changes, pushing a new README to npmjs.org
19
+
20
+ ## 6.7.4 2022-04-29
21
+
22
+ - Ensure compatibility with Node 18
23
+ - Replaced Travis with Github Actions
24
+
25
+ ## 6.7.3 2022-03-21
26
+
27
+ - Typo fixes
28
+ - Added stale issue automation fir Github
29
+ - Add Infomaniak config to well known service (popod)
30
+ - Update Outlook/Hotmail host in well known services (popod)
31
+ - fix: DSN recipient gets ignored (KornKalle)
32
+
33
+ ## 6.7.2 2021-11-26
34
+
35
+ - Fix proxies for account verification
36
+
37
+ ## 6.7.1 2021-11-15
38
+
39
+ - fix verify on ses-transport (stanofsky)
40
+
41
+ ## 6.7.0 2021-10-11
42
+
43
+ - Updated DNS resolving logic. If there are multiple responses for a A/AAAA record, then loop these randomly instead of only caching the first one
44
+
45
+ ## 6.6.5 2021-09-23
46
+
47
+ - Replaced Object.values() and Array.flat() with polyfills to allow using Nodemailer in Node v6+
48
+
49
+ ## 6.6.4 2021-09-22
50
+
51
+ - Better compatibility with IPv6-only SMTP hosts (oxzi)
52
+ - Fix ses verify for sdk v3 (hannesvdvreken)
53
+ - Added SECURITY.txt for contact info
54
+
55
+ ## 6.6.3 2021-07-14
56
+
57
+ - Do not show passwords in SMTP transaction logs. All passwords used in logging are replaced by `"/* secret */"`
58
+
59
+ ## 6.6.1 2021-05-23
60
+
61
+ - Fixed address formatting issue where newlines in an email address, if provided via address object, were not properly removed. Reported by tmazeika (#1289)
62
+
63
+ ## 6.6.0 2021-04-28
64
+
65
+ - Added new option `newline` for MailComposer
66
+ - aws ses connection verification (Ognjen Jevremovic)
67
+
68
+ ## 6.5.0 2021-02-26
69
+
70
+ - Pass through textEncoding to subnodes
71
+ - Added support for AWS SES v3 SDK
72
+ - Fixed tests
73
+
74
+ ## 6.4.18 2021-02-11
75
+
76
+ - Updated README
77
+
78
+ ## 6.4.17 2020-12-11
79
+
80
+ - Allow mixing attachments with caendar alternatives
81
+
82
+ ## 6.4.16 2020-11-12
83
+
84
+ - Applied updated prettier formating rules
85
+
86
+ ## 6.4.15 2020-11-06
87
+
88
+ - Minor changes in header key casing
89
+
90
+ ## 6.4.14 2020-10-14
91
+
92
+ - Disabled postinstall script
93
+
94
+ ## 6.4.13 2020-10-02
95
+
96
+ - Fix normalizeHeaderKey method for single node messages
97
+
98
+ ## 6.4.12 2020-09-30
99
+
100
+ - Better handling of attachment filenames that include quote symbols
101
+ - Includes all information from the oath2 error response in the error message (Normal Gaussian) [1787f227]
102
+
103
+ ## 6.4.11 2020-07-29
104
+
105
+ - Fixed escape sequence handling in address parsing
106
+
107
+ ## 6.4.10 2020-06-17
108
+
109
+ - Fixed RFC822 output for MailComposer when using invalid content-type value. Mostly relevant if message attachments have stragne content-type values set.
110
+
111
+ ## 6.4.7 2020-05-28
112
+
113
+ - Always set charset=utf-8 for Content-Type headers
114
+ - Catch error when using invalid crypto.sign input
115
+
116
+ ## 6.4.6 2020-03-20
117
+
118
+ - fix: `requeueAttempts=n` should requeue `n` times (Patrick Malouin) [a27ed2f7]
119
+
120
+ ## 6.4.4 2020-03-01
121
+
122
+ - Add `options.forceAuth` for SMTP (Patrick Malouin) [a27ed2f7]
123
+
124
+ ## 6.4.3 2020-02-22
125
+
126
+ - Added an option to specify max number of requeues when connection closes unexpectedly (Igor Sechyn) [8a927f5a]
127
+
128
+ ## 6.4.2 2019-12-11
129
+
130
+ - Fixed bug where array item was used with a potentially empty array
131
+
132
+ ## 6.4.1 2019-12-07
133
+
134
+ - Fix processing server output with unterminated responses
135
+
136
+ ## 6.4.0 2019-12-04
137
+
138
+ - Do not use auth if server does not advertise AUTH support [f419b09d]
139
+ - add dns.CONNREFUSED (Hiroyuki Okada) [5c4c8ca8]
140
+
141
+ ## 6.3.1 2019-10-09
142
+
143
+ - Ignore "end" events because it might be "error" after it (dex4er) [72bade9]
144
+ - Set username and password on the connection proxy object correctly (UsamaAshraf) [250b1a8]
145
+ - Support more DNS errors (madarche) [2391aa4]
146
+
147
+ ## 6.3.0 2019-07-14
148
+
149
+ - Added new option to pass a set of httpHeaders to be sent when fetching attachments. See [PR #1034](https://github.com/nodemailer/nodemailer/pull/1034)
150
+
151
+ ## 6.2.1 2019-05-24
152
+
153
+ - No changes. It is the same as 6.2.0 that was accidentally published as 6.2.1 to npm
154
+
155
+ ## 6.2.0 2019-05-24
156
+
157
+ - Added new option for addressparser: `flatten`. If true then ignores group names and returns a single list of all addresses
158
+
159
+ ## 6.1.1 2019-04-20
160
+
161
+ - Fixed regression bug with missing smtp `authMethod` property
162
+
163
+ ## 6.1.0 2019-04-06
164
+
165
+ - Added new message property `amp` for providing AMP4EMAIL content
166
+
167
+ ## 6.0.0 2019-03-25
168
+
169
+ - SMTPConnection: use removeListener instead of removeAllListeners (xr0master) [ddc4af15]
170
+ Using removeListener should fix memory leak with Node.js streams
171
+
172
+ ## 5.1.1 2019-01-09
173
+
174
+ - Added missing option argument for custom auth
175
+
176
+ ## 5.1.0 2019-01-09
177
+
178
+ - Official support for custom authentication methods and examples (examples/custom-auth-async.js and examples/custom-auth-cb.js)
179
+
180
+ ## 5.0.1 2019-01-09
181
+
182
+ - Fixed regression error to support Node versions lower than 6.11
183
+ - Added expiremental custom authentication support
184
+
185
+ ## 5.0.0 2018-12-28
186
+
187
+ - Start using dns.resolve() instead of dns.lookup() for resolving SMTP hostnames. Might be breaking change on some environments so upgrade with care
188
+ - Show more logs for renewing OAuth2 tokens, previously it was not possible to see what actually failed
189
+
190
+ ## 4.7.0 2018-11-19
191
+
192
+ - Cleaned up List-\* header generation
193
+ - Fixed 'full' return option for DSN (klaronix) [23b93a3b]
194
+ - Support promises `for mailcomposer.build()`
195
+
196
+ ## 4.6.8 2018-08-15
197
+
198
+ - Use first IP address from DNS resolution when using a proxy (Limbozz) [d4ca847c]
199
+ - Return raw email from SES transport (gabegorelick) [3aa08967]
200
+
201
+ ## 4.6.7 2018-06-15
202
+
203
+ - Added option `skipEncoding` to JSONTransport
204
+
205
+ ## 4.6.6 2018-06-10
206
+
207
+ - Fixes mime encoded-word compatibility issue with invalid clients like Zimbra
208
+
209
+ ## 4.6.5 2018-05-23
210
+
211
+ - Fixed broken DKIM stream in Node.js v10
212
+ - Updated error messages for SMTP responses to not include a newline
213
+
214
+ ## 4.6.4 2018-03-31
215
+
216
+ - Readded logo author link to README that was accidentally removed a while ago
217
+
218
+ ## 4.6.3 2018-03-13
219
+
220
+ - Removed unneeded dependency
221
+
222
+ ## 4.6.2 2018-03-06
223
+
224
+ - When redirecting URL calls then do not include original POST content
225
+
226
+ ## 4.6.1 2018-03-06
227
+
228
+ - Fixed Smtp connection freezing, when trying to send after close / quit (twawszczak) [73d3911c]
229
+
230
+ ## 4.6.0 2018-02-22
231
+
232
+ - Support socks module v2 in addition to v1 [e228bcb2]
233
+ - Fixed invalid promise return value when using createTestAccount [5524e627]
234
+ - Allow using local addresses [8f6fa35f]
235
+
236
+ ## 4.5.0 2018-02-21
237
+
238
+ - Added new message transport option `normalizeHeaderKey(key)=>normalizedKey` for custom header formatting
239
+
240
+ ## 4.4.2 2018-01-20
241
+
242
+ - Added sponsors section to README
243
+ - enclose encodeURIComponent in try..catch to handle invalid urls
244
+
245
+ ## 4.4.1 2017-12-08
246
+
247
+ - Better handling of unexpectedly dropping connections
248
+
249
+ ## 4.4.0 2017-11-10
250
+
251
+ - Changed default behavior for attachment option contentTransferEncoding. If it is unset then base64 encoding is used for the attachment. If it is set to false then previous default applies (base64 for most, 7bit for text)
252
+
253
+ ## 4.3.1 2017-10-25
254
+
255
+ - Fixed a confict with Electron.js where timers do not have unref method
256
+
257
+ ## 4.3.0 2017-10-23
258
+
259
+ - Added new mail object method `mail.normalize(cb)` that should make creating HTTP API based transports much easier
260
+
261
+ ## 4.2.0 2017-10-13
262
+
263
+ - Expose streamed messages size and timers in info response
264
+
265
+ ## v4.1.3 2017-10-06
266
+
267
+ - Allow generating preview links without calling createTestAccount first
268
+
269
+ ## v4.1.2 2017-10-03
270
+
271
+ - No actual changes. Needed to push updated README to npmjs
272
+
273
+ ## v4.1.1 2017-09-25
274
+
275
+ - Fixed JSONTransport attachment handling
276
+
277
+ ## v4.1.0 2017-08-28
278
+
279
+ - Added new methods `createTestAccount` and `getTestMessageUrl` to use autogenerated email accounts from https://Ethereal.email
280
+
281
+ ## v4.0.1 2017-04-13
282
+
283
+ - Fixed issue with LMTP and STARTTLS
284
+
285
+ ## v4.0.0 2017-04-06
286
+
287
+ - License changed from EUPLv1.1 to MIT
288
+
289
+ ## v3.1.8 2017-03-21
290
+
291
+ - Fixed invalid List-\* header generation
292
+
293
+ ## v3.1.7 2017-03-14
294
+
295
+ - Emit an error if STARTTLS ends with connection being closed
296
+
297
+ ## v3.1.6 2017-03-14
298
+
299
+ - Expose last server response for smtpConnection
300
+
301
+ ## v3.1.5 2017-03-08
302
+
303
+ - Fixed SES transport, added missing `response` value
304
+
305
+ ## v3.1.4 2017-02-26
306
+
307
+ - Fixed DKIM calculation for empty body
308
+ - Ensure linebreak after message content. This fixes DKIM signatures for non-multipart messages where input did not end with a newline
309
+
310
+ ## v3.1.3 2017-02-17
311
+
312
+ - Fixed missing `transport.verify()` methods for SES transport
313
+
314
+ ## v3.1.2 2017-02-17
315
+
316
+ - Added missing error handlers for Sendmail, SES and Stream transports. If a messages contained an invalid URL as attachment then these transports threw an uncatched error
317
+
318
+ ## v3.1.1 2017-02-13
319
+
320
+ - Fixed missing `transport.on('idle')` and `transport.isIdle()` methods for SES transports
321
+
322
+ ## v3.1.0 2017-02-13
323
+
324
+ - Added built-in transport for AWS SES. [Docs](http://localhost:1313/transports/ses/)
325
+ - Updated stream transport to allow building JSON strings. [Docs](http://localhost:1313/transports/stream/#json-transport)
326
+ - Added new method _mail.resolveAll_ that fetches all attachments and such to be able to more easily build API-based transports
327
+
328
+ ## v3.0.2 2017-02-04
329
+
330
+ - Fixed a bug with OAuth2 login where error callback was fired twice if getToken was not available.
331
+
332
+ ## v3.0.1 2017-02-03
333
+
334
+ - Fixed a bug where Nodemailer threw an exception if `disableFileAccess` option was used
335
+ - Added FLOSS [exception declaration](FLOSS_EXCEPTIONS.md)
336
+
337
+ ## v3.0.0 2017-01-31
338
+
339
+ - Initial version of Nodemailer 3
340
+
341
+ This update brings a lot of breaking changes:
342
+
343
+ - License changed from MIT to **EUPL-1.1**. This was possible as the new version of Nodemailer is a major rewrite. The features I don't have ownership for, were removed or reimplemented. If there's still some snippets in the code that have vague ownership then notify <mailto:andris@kreata.ee> about the conflicting code and I'll fix it.
344
+ - Requires **Node.js v6+**
345
+ - All **templating is gone**. It was too confusing to use and to be really universal a huge list of different renderers would be required. Nodemailer is about email, not about parsing different template syntaxes
346
+ - **No NTLM authentication**. It was too difficult to re-implement. If you still need it then it would be possible to introduce a pluggable SASL interface where you could load the NTLM module in your own code and pass it to Nodemailer. Currently this is not possible.
347
+ - **OAuth2 authentication** is built in and has a different [configuration](https://nodemailer.com/smtp/oauth2/). You can use both user (3LO) and service (2LO) accounts to generate access tokens from Nodemailer. Additionally there's a new feature to authenticate differently for every message – useful if your application sends on behalf of different users instead of a single sender.
348
+ - **Improved Calendaring**. Provide an ical file to Nodemailer to send out [calendar events](https://nodemailer.com/message/calendar-events/).
349
+
350
+ And also some non-breaking changes:
351
+
352
+ - All **dependencies were dropped**. There is exactly 0 dependencies needed to use Nodemailer. This brings the installation time of Nodemailer from NPM down to less than 2 seconds
353
+ - **Delivery status notifications** added to Nodemailer
354
+ - Improved and built-in **DKIM** signing of messages. Previously you needed an external module for this and it did quite a lousy job with larger messages
355
+ - **Stream transport** to return a RFC822 formatted message as a stream. Useful if you want to use Nodemailer as a preprocessor and not for actual delivery.
356
+ - **Sendmail** transport built-in, no need for external transport plugin
357
+
358
+ See [Nodemailer.com](https://nodemailer.com/) for full documentation
359
+
360
+ ## 2.7.0 2016-12-08
361
+
362
+ - Bumped mailcomposer that generates encoded-words differently which might break some tests
363
+
364
+ ## 2.6.0 2016-09-05
365
+
366
+ - Added new options disableFileAccess and disableUrlAccess
367
+ - Fixed envelope handling where cc/bcc fields were ignored in the envelope object
368
+
369
+ ## 2.4.2 2016-05-25
370
+
371
+ - Removed shrinkwrap file. Seemed to cause more trouble than help
372
+
373
+ ## 2.4.1 2016-05-12
374
+
375
+ - Fixed outdated shrinkwrap file
376
+
377
+ ## 2.4.0 2016-05-11
378
+
379
+ - Bumped mailcomposer module to allow using `false` as attachment filename (suppresses filename usage)
380
+ - Added NTLM authentication support
381
+
382
+ ## 2.3.2 2016-04-11
383
+
384
+ - Bumped smtp transport modules to get newest smtp-connection that fixes SMTPUTF8 support for internationalized email addresses
385
+
386
+ ## 2.3.1 2016-04-08
387
+
388
+ - Bumped mailcomposer to have better support for message/822 attachments
389
+
390
+ ## 2.3.0 2016-03-03
391
+
392
+ - Fixed a bug with attachment filename that contains mixed unicode and dashes
393
+ - Added built-in support for proxies by providing a new SMTP option `proxy` that takes a proxy configuration url as its value
394
+ - Added option `transport` to dynamically load transport plugins
395
+ - Do not require globally installed grunt-cli
396
+
397
+ ## 2.2.1 2016-02-20
398
+
399
+ - Fixed a bug in SMTP requireTLS option that was broken
400
+
401
+ ## 2.2.0 2016-02-18
402
+
403
+ - Removed the need to use `clone` dependency
404
+ - Added new method `verify` to check SMTP configuration
405
+ - Direct transport uses STARTTLS by default, fallbacks to plaintext if STARTTLS fails
406
+ - Added new message option `list` for setting List-\* headers
407
+ - Add simple proxy support with `getSocket` method
408
+ - Added new message option `textEncoding`. If `textEncoding` is not set then detect best encoding automatically
409
+ - Added new message option `icalEvent` to embed iCalendar events. Example [here](examples/ical-event.js)
410
+ - Added new attachment option `raw` to use prepared MIME contents instead of generating a new one. This might be useful when you want to handcraft some parts of the message yourself, for example if you want to inject a PGP encrypted message as the contents of a MIME node
411
+ - Added new message option `raw` to use an existing MIME message instead of generating a new one
412
+
413
+ ## 2.1.0 2016-02-01
414
+
415
+ Republishing 2.1.0-rc.1 as stable. To recap, here's the notable changes between v2.0 and v2.1:
416
+
417
+ - Implemented templating support. You can either use a simple built-in renderer or some external advanced renderer, eg. [node-email-templates](https://github.com/niftylettuce/node-email-templates). Templating [docs](http://nodemailer.com/2-0-0-beta/templating/).
418
+ - Updated smtp-pool to emit 'idle' events in order to handle message queue more effectively
419
+ - Updated custom header handling, works everywhere the same now, no differences between adding custom headers to the message or to an attachment
420
+
421
+ ## 2.1.0-rc.1 2016-01-25
422
+
423
+ Sneaked in some new features even though it is already rc
424
+
425
+ - If a SMTP pool is closed while there are still messages in a queue, the message callbacks are invoked with an error
426
+ - In case of SMTP pool the transporter emits 'idle' when there is a free connection slot available
427
+ - Added method `isIdle()` that checks if a pool has still some free connection slots available
428
+
429
+ ## 2.1.0-rc.0 2016-01-20
430
+
431
+ - Bumped dependency versions
432
+
433
+ ## 2.1.0-beta.3 2016-01-20
434
+
435
+ - Added support for node-email-templates templating in addition to the built-in renderer
436
+
437
+ ## 2.1.0-beta.2 2016-01-20
438
+
439
+ - Implemented simple templating feature
440
+
441
+ ## 2.1.0-beta.1 2016-01-20
442
+
443
+ - Allow using prepared header values that are not folded or encoded by Nodemailer
444
+
445
+ ## 2.1.0-beta.0 2016-01-20
446
+
447
+ - Use the same header custom structure for message root, attachments and alternatives
448
+ - Ensure that Message-Id exists when accessing message
449
+ - Allow using array values for custom headers (inserts every value in its own row)
450
+
451
+ ## 2.0.0 2016-01-11
452
+
453
+ - Released rc.2 as stable
454
+
455
+ ## 2.0.0-rc.2 2016-01-04
456
+
457
+ - Locked dependencies
458
+
459
+ ## 2.0.0-beta.2 2016-01-04
460
+
461
+ - Updated documentation to reflect changes with SMTP handling
462
+ - Use beta versions for smtp/pool/direct transports
463
+ - Updated logging
464
+
465
+ ## 2.0.0-beta.1 2016-01-03
466
+
467
+ - Use bunyan compatible logger instead of the emit('log') style
468
+ - Outsourced some reusable methods to nodemailer-shared
469
+ - Support setting direct/smtp/pool with the default configuration
470
+
471
+ ## 2.0.0-beta.0 2015-12-31
472
+
473
+ - Stream errors are not silently swallowed
474
+ - Do not use format=flowed
475
+ - Use nodemailer-fetch to fetch URL streams
476
+ - jshint replaced by eslint
477
+
478
+ ## v1.11.0 2015-12-28
479
+
480
+ Allow connection url based SMTP configurations
481
+
482
+ ## v1.10.0 2015-11-13
483
+
484
+ Added `defaults` argument for `createTransport` to predefine commonn values (eg. `from` address)
485
+
486
+ ## v1.9.0 2015-11-09
487
+
488
+ Returns a Promise for `sendMail` if callback is not defined
489
+
490
+ ## v1.8.0 2015-10-08
491
+
492
+ Added priority option (high, normal, low) for setting Importance header
493
+
494
+ ## v1.7.0 2015-10-06
495
+
496
+ Replaced hyperquest with needle. Fixes issues with compressed data and redirects
497
+
498
+ ## v1.6.0 2015-10-05
499
+
500
+ Maintenance release. Bumped dependencies to get support for unicode filenames for QQ webmail and to support emoji in filenames
501
+
502
+ ## v1.5.0 2015-09-24
503
+
504
+ Use mailcomposer instead of built in solution to generate message sources. Bumped libmime gives better quoted-printable handling.
505
+
506
+ ## v1.4.0 2015-06-27
507
+
508
+ Added new message option `watchHtml` to specify Apple Watch specific HTML part of the message. See [this post](https://litmus.com/blog/how-to-send-hidden-version-email-apple-watch) for details
509
+
510
+ ## v1.3.4 2015-04-25
511
+
512
+ Maintenance release, bumped buildmail version to get fixed format=flowed handling
513
+
514
+ ## v1.3.3 2015-04-25
515
+
516
+ Maintenance release, bumped dependencies
517
+
518
+ ## v1.3.2 2015-03-09
519
+
520
+ Maintenance release, upgraded dependencies. Replaced simplesmtp based tests with smtp-server based ones.
521
+
522
+ ## v1.3.0 2014-09-12
523
+
524
+ Maintenance release, upgrades buildmail and libmime. Allows using functions as transform plugins and fixes issue with unicode filenames in Gmail.
525
+
526
+ ## v1.2.2 2014-09-05
527
+
528
+ Proper handling of data uris as attachments. Attachment `path` property can also be defined as a data uri, not just regular url or file path.
529
+
530
+ ## v1.2.1 2014-08-21
531
+
532
+ Bumped libmime and mailbuild versions to properly handle filenames with spaces (short ascii only filenames with spaces were left unquoted).
533
+
534
+ ## v1.2.0 2014-08-18
535
+
536
+ Allow using encoded strings as attachments. Added new property `encoding` which defines the encoding used for a `content` string. If encoding is set, the content value is converted to a Buffer value using the defined encoding before usage. Useful for including binary attachemnts in JSON formatted email objects.
537
+
538
+ ## v1.1.2 2014-08-18
539
+
540
+ Return deprecatin error for v0.x style configuration
541
+
542
+ ## v1.1.1 2014-07-30
543
+
544
+ Bumped nodemailer-direct-transport dependency. Updated version includes a bugfix for Stream nodes handling. Important only if use direct-transport with Streams (not file paths or urls) as attachment content.
545
+
546
+ ## v1.1.0 2014-07-29
547
+
548
+ Added new method `resolveContent()` to get the html/text/attachment content as a String or Buffer.
549
+
550
+ ## v1.0.4 2014-07-23
551
+
552
+ Bugfix release. HTML node was instered twice if the message consisted of a HTML content (but no text content) + at least one attachment with CID + at least one attachment without CID. In this case the HTML node was inserted both to the root level multipart/mixed section and to the multipart/related sub section
553
+
554
+ ## v1.0.3 2014-07-16
555
+
556
+ Fixed a bug where Nodemailer crashed if the message content type was multipart/related
557
+
558
+ ## v1.0.2 2014-07-16
559
+
560
+ Upgraded nodemailer-smtp-transport to 0.1.11\. The docs state that for SSL you should use 'secure' option but the underlying smtp-connection module used 'secureConnection' for this purpose. Fixed smpt-connection to match the docs.
561
+
562
+ ## v1.0.1 2014-07-15
563
+
564
+ Implemented missing #close method that is passed to the underlying transport object. Required by the smtp pool.
565
+
566
+ ## v1.0.0 2014-07-15
567
+
568
+ Total rewrite. See migration guide here: <http://www.andrisreinman.com/nodemailer-v1-0/#migrationguide>
569
+
570
+ ## v0.7.1 2014-07-09
571
+
572
+ - Upgraded aws-sdk to 2.0.5
573
+
574
+ ## v0.7.0 2014-06-17
575
+
576
+ - Bumped version to v0.7.0
577
+ - Fix AWS-SES usage [5b6bc144]
578
+ - Replace current SES with new SES using AWS-SDK (Elanorr) [c79d797a]
579
+ - Updated README.md about Node Email Templates (niftylettuce) [e52bef81]
580
+
581
+ ## v0.6.5 2014-05-15
582
+
583
+ - Bumped version to v0.6.5
584
+ - Use tildes instead of carets for dependency listing [5296ce41]
585
+ - Allow clients to set a custom identityString (venables) [5373287d]
586
+ - bugfix (adding "-i" to sendmail command line for each new mail) by copying this.args (vrodic) [05a8a9a3]
587
+ - update copyright (gdi2290) [3a6cba3a]
588
+
589
+ ## v0.6.4 2014-05-13
590
+
591
+ - Bumped version to v0.6.4
592
+ - added npmignore, bumped dependencies [21bddcd9]
593
+ - Add AOL to well-known services (msouce) [da7dd3b7]
594
+
595
+ ## v0.6.3 2014-04-16
596
+
597
+ - Bumped version to v0.6.3
598
+ - Upgraded simplesmtp dependency [dd367f59]
599
+
600
+ ## v0.6.2 2014-04-09
601
+
602
+ - Bumped version to v0.6.2
603
+ - Added error option to Stub transport [c423acad]
604
+ - Use SVG npm badge (t3chnoboy) [677117b7]
605
+ - add SendCloud to well known services (haio) [43c358e0]
606
+ - High-res build-passing and NPM module badges (sahat) [9fdc37cd]
607
+
608
+ ## v0.6.1 2014-01-26
609
+
610
+ - Bumped version to v0.6.1
611
+ - Do not throw on multiple errors from sendmail command [c6e2cd12]
612
+ - Do not require callback for pickup, fixes #238 [93eb3214]
613
+ - Added AWSSecurityToken information to README, fixes #235 [58e921d1]
614
+ - Added Nodemailer logo [06b7d1a8]
615
+
616
+ ## v0.6.0 2013-12-30
617
+
618
+ - Bumped version to v0.6.0
619
+ - Allow defining custom transport methods [ec5b48ce]
620
+ - Return messageId with responseObject for all built in transport methods [74445cec]
621
+ - Bumped dependency versions for mailcomposer and readable-stream [9a034c34]
622
+ - Changed pickup argument name to 'directory' [01c3ea53]
623
+ - Added support for IIS pickup directory with PICKUP transport (philipproplesch) [36940b59..360a2878]
624
+ - Applied common styles [9e93a409]
625
+ - Updated readme [c78075e7]
626
+
627
+ ## v0.5.15 2013-12-13
628
+
629
+ - bumped version to v0.5.15
630
+ - Updated README, added global options info for setting uo transports [554bb0e5]
631
+ - Resolve public hostname, if resolveHostname property for a transport object is set to `true` [9023a6e1..4c66b819]
632
+
633
+ ## v0.5.14 2013-12-05
634
+
635
+ - bumped version to v0.5.14
636
+ - Expose status for direct messages [f0312df6]
637
+ - Allow to skip the X-Mailer header if xMailer value is set to 'false' [f2c20a68]
638
+
639
+ ## v0.5.13 2013-12-03
640
+
641
+ - bumped version to v0.5.13
642
+ - Use the name property from the transport object to use for the domain part of message-id values (1598eee9)
643
+
644
+ ## v0.5.12 2013-12-02
645
+
646
+ - bumped version to v0.5.12
647
+ - Expose transport method and transport module version if available [a495106e]
648
+ - Added 'he' module instead of using custom html entity decoding [c197d102]
649
+ - Added xMailer property for transport configuration object to override X-Mailer value [e8733a61]
650
+ - Updated README, added description for 'mail' method [e1f5f3a6]
651
+
652
+ ## v0.5.11 2013-11-28
653
+
654
+ - bumped version to v0.5.11
655
+ - Updated mailcomposer version. Replaces ent with he [6a45b790e]
656
+
657
+ ## v0.5.10 2013-11-26
658
+
659
+ - bumped version to v0.5.10
660
+ - added shorthand function mail() for direct transport type [88129bd7]
661
+ - minor tweaks and typo fixes [f797409e..ceac0ca4]
662
+
663
+ ## v0.5.9 2013-11-25
664
+
665
+ - bumped version to v0.5.9
666
+ - Update for 'direct' handling [77b84e2f]
667
+ - do not require callback to be provided for 'direct' type [ec51c79f]
668
+
669
+ ## v0.5.8 2013-11-22
670
+
671
+ - bumped version to v0.5.8
672
+ - Added support for 'direct' transport [826f226d..0dbbcbbc]
673
+
674
+ ## v0.5.7 2013-11-18
675
+
676
+ - bumped version to v0.5.7
677
+ - Replace \r\n by \n in Sendmail transport (rolftimmermans) [fed2089e..616ec90c] A lot of sendmail implementations choke on \r\n newlines and require \n This commit addresses this by transforming all \r\n sequences passed to the sendmail command with \n
678
+
679
+ ## v0.5.6 2013-11-15
680
+
681
+ - bumped version to v0.5.6
682
+ - Upgraded mailcomposer dependency to 0.2.4 [e5ff9c40]
683
+ - Removed noCR option [e810d1b8]
684
+ - Update wellknown.js, added FastMail (k-j-kleist) [cf930f6d]
685
+
686
+ ## v0.5.5 2013-10-30
687
+
688
+ - bumped version to v0.5.5
689
+ - Updated mailcomposer dependnecy version to 0.2.3
690
+ - Remove legacy code - node v0.4 is not supported anymore anyway
691
+ - Use hostname (autodetected or from the options.name property) for Message-Id instead of "Nodemailer" (helps a bit when messages are identified as spam)
692
+ - Added maxMessages info to README
693
+
694
+ ## v0.5.4 2013-10-29
695
+
696
+ - bumped version to v0.5.4
697
+ - added "use strict" statements
698
+ - Added DSN info to README
699
+ - add support for QQ enterprise email (coderhaoxin)
700
+ - Add a Bitdeli Badge to README
701
+ - DSN options Passthrought into simplesmtp. (irvinzz)
702
+
703
+ ## v0.5.3 2013-10-03
704
+
705
+ - bumped version v0.5.3
706
+ - Using a stub transport to prevent sendmail from being called during a test. (jsdevel)
707
+ - closes #78: sendmail transport does not work correctly on Unix machines. (jsdevel)
708
+ - Updated PaaS Support list to include Modulus. (fiveisprime)
709
+ - Translate self closing break tags to newline (kosmasgiannis)
710
+ - fix typos (aeosynth)
711
+
712
+ ## v0.5.2 2013-07-25
713
+
714
+ - bumped version v0.5.2
715
+ - Merge pull request #177 from MrSwitch/master Fixing Amazon SES, fatal error caused by bad connection