ruinarypackage 1.0.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.

Potentially problematic release.


This version of ruinarypackage might be problematic. Click here for more details.

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