nodemailer 4.6.5 → 4.7.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.
- package/.prettierrc.js +5 -0
- package/CHANGELOG.md +198 -179
- package/lib/base64/index.js +2 -2
- package/lib/json-transport/index.js +3 -9
- package/lib/mailer/index.js +3 -1
- package/lib/mailer/mail-message.js +37 -18
- package/lib/mime-funcs/index.js +9 -2
- package/lib/mime-node/index.js +39 -12
- package/lib/nodemailer.js +9 -3
- package/lib/sendmail-transport/index.js +1 -1
- package/lib/ses-transport/index.js +6 -5
- package/lib/smtp-connection/http-proxy-client.js +60 -57
- package/lib/smtp-connection/index.js +42 -37
- package/lib/stream-transport/index.js +3 -3
- package/lib/well-known/services.json +25 -7
- package/package.json +13 -10
package/.prettierrc.js
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -1,273 +1,292 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 4.7.0 2018-11-19
|
|
4
|
+
|
|
5
|
+
- Cleaned up List-\* header generation
|
|
6
|
+
- Fixed 'full' return option for DSN (klaronix) [23b93a3b]
|
|
7
|
+
- Support promises `for mailcomposer.build()`
|
|
8
|
+
|
|
9
|
+
## 4.6.8 2018-08-15
|
|
10
|
+
|
|
11
|
+
- Use first IP address from DNS resolution when using a proxy (Limbozz) [d4ca847c]
|
|
12
|
+
- Return raw email from SES transport (gabegorelick) [3aa08967]
|
|
13
|
+
|
|
14
|
+
## 4.6.7 2018-06-15
|
|
15
|
+
|
|
16
|
+
- Added option `skipEncoding` to JSONTransport
|
|
17
|
+
|
|
18
|
+
## 4.6.6 2018-06-10
|
|
19
|
+
|
|
20
|
+
- Fixes mime encoded-word compatibility issue with invalid clients like Zimbra
|
|
21
|
+
|
|
3
22
|
## 4.6.5 2018-05-23
|
|
4
23
|
|
|
5
|
-
|
|
6
|
-
|
|
24
|
+
- Fixed broken DKIM stream in Node.js v10
|
|
25
|
+
- Updated error messages for SMTP responses to not include a newline
|
|
7
26
|
|
|
8
27
|
## 4.6.4 2018-03-31
|
|
9
28
|
|
|
10
|
-
|
|
29
|
+
- Readded logo author link to README that was accidentally removed a while ago
|
|
11
30
|
|
|
12
31
|
## 4.6.3 2018-03-13
|
|
13
32
|
|
|
14
|
-
|
|
33
|
+
- Removed unneeded dependency
|
|
15
34
|
|
|
16
35
|
## 4.6.2 2018-03-06
|
|
17
36
|
|
|
18
|
-
|
|
37
|
+
- When redirecting URL calls then do not include original POST content
|
|
19
38
|
|
|
20
39
|
## 4.6.1 2018-03-06
|
|
21
40
|
|
|
22
|
-
|
|
41
|
+
- Fixed Smtp connection freezing, when trying to send after close / quit (twawszczak) [73d3911c]
|
|
23
42
|
|
|
24
43
|
## 4.6.0 2018-02-22
|
|
25
44
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
45
|
+
- Support socks module v2 in addition to v1 [e228bcb2]
|
|
46
|
+
- Fixed invalid promise return value when using createTestAccount [5524e627]
|
|
47
|
+
- Allow using local addresses [8f6fa35f]
|
|
29
48
|
|
|
30
49
|
## 4.5.0 2018-02-21
|
|
31
50
|
|
|
32
|
-
|
|
51
|
+
- Added new message transport option `normalizeHeaderKey(key)=>normalizedKey` for custom header formatting
|
|
33
52
|
|
|
34
53
|
## 4.4.2 2018-01-20
|
|
35
54
|
|
|
36
|
-
|
|
37
|
-
|
|
55
|
+
- Added sponsors section to README
|
|
56
|
+
- enclose encodeURIComponent in try..catch to handle invalid urls
|
|
38
57
|
|
|
39
58
|
## 4.4.1 2017-12-08
|
|
40
59
|
|
|
41
|
-
|
|
60
|
+
- Better handling of unexpectedly dropping connections
|
|
42
61
|
|
|
43
62
|
## 4.4.0 2017-11-10
|
|
44
63
|
|
|
45
|
-
|
|
64
|
+
- 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)
|
|
46
65
|
|
|
47
66
|
## 4.3.1 2017-10-25
|
|
48
67
|
|
|
49
|
-
|
|
68
|
+
- Fixed a confict with Electron.js where timers do not have unref method
|
|
50
69
|
|
|
51
70
|
## 4.3.0 2017-10-23
|
|
52
71
|
|
|
53
|
-
|
|
72
|
+
- Added new mail object method `mail.normalize(cb)` that should make creating HTTP API based transports much easier
|
|
54
73
|
|
|
55
74
|
## 4.2.0 2017-10-13
|
|
56
75
|
|
|
57
|
-
|
|
76
|
+
- Expose streamed messages size and timers in info response
|
|
58
77
|
|
|
59
78
|
## v4.1.3 2017-10-06
|
|
60
79
|
|
|
61
|
-
|
|
80
|
+
- Allow generating preview links without calling createTestAccount first
|
|
62
81
|
|
|
63
82
|
## v4.1.2 2017-10-03
|
|
64
83
|
|
|
65
|
-
|
|
84
|
+
- No actual changes. Needed to push updated README to npmjs
|
|
66
85
|
|
|
67
86
|
## v4.1.1 2017-09-25
|
|
68
87
|
|
|
69
|
-
|
|
88
|
+
- Fixed JSONTransport attachment handling
|
|
70
89
|
|
|
71
90
|
## v4.1.0 2017-08-28
|
|
72
91
|
|
|
73
|
-
|
|
92
|
+
- Added new methods `createTestAccount` and `getTestMessageUrl` to use autogenerated email accounts from https://Ethereal.email
|
|
74
93
|
|
|
75
94
|
## v4.0.1 2017-04-13
|
|
76
95
|
|
|
77
|
-
|
|
96
|
+
- Fixed issue with LMTP and STARTTLS
|
|
78
97
|
|
|
79
98
|
## v4.0.0 2017-04-06
|
|
80
99
|
|
|
81
|
-
|
|
100
|
+
- License changed from EUPLv1.1 to MIT
|
|
82
101
|
|
|
83
102
|
## v3.1.8 2017-03-21
|
|
84
103
|
|
|
85
|
-
|
|
104
|
+
- Fixed invalid List-\* header generation
|
|
86
105
|
|
|
87
106
|
## v3.1.7 2017-03-14
|
|
88
107
|
|
|
89
|
-
|
|
108
|
+
- Emit an error if STARTTLS ends with connection being closed
|
|
90
109
|
|
|
91
110
|
## v3.1.6 2017-03-14
|
|
92
111
|
|
|
93
|
-
|
|
112
|
+
- Expose last server response for smtpConnection
|
|
94
113
|
|
|
95
114
|
## v3.1.5 2017-03-08
|
|
96
115
|
|
|
97
|
-
|
|
116
|
+
- Fixed SES transport, added missing `response` value
|
|
98
117
|
|
|
99
118
|
## v3.1.4 2017-02-26
|
|
100
119
|
|
|
101
|
-
|
|
102
|
-
|
|
120
|
+
- Fixed DKIM calculation for empty body
|
|
121
|
+
- Ensure linebreak after message content. This fixes DKIM signatures for non-multipart messages where input did not end with a newline
|
|
103
122
|
|
|
104
123
|
## v3.1.3 2017-02-17
|
|
105
124
|
|
|
106
|
-
|
|
125
|
+
- Fixed missing `transport.verify()` methods for SES transport
|
|
107
126
|
|
|
108
127
|
## v3.1.2 2017-02-17
|
|
109
128
|
|
|
110
|
-
|
|
129
|
+
- 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
|
|
111
130
|
|
|
112
131
|
## v3.1.1 2017-02-13
|
|
113
132
|
|
|
114
|
-
|
|
133
|
+
- Fixed missing `transport.on('idle')` and `transport.isIdle()` methods for SES transports
|
|
115
134
|
|
|
116
135
|
## v3.1.0 2017-02-13
|
|
117
136
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
137
|
+
- Added built-in transport for AWS SES. [Docs](http://localhost:1313/transports/ses/)
|
|
138
|
+
- Updated stream transport to allow building JSON strings. [Docs](http://localhost:1313/transports/stream/#json-transport)
|
|
139
|
+
- Added new method _mail.resolveAll_ that fetches all attachments and such to be able to more easily build API-based transports
|
|
121
140
|
|
|
122
141
|
## v3.0.2 2017-02-04
|
|
123
142
|
|
|
124
|
-
|
|
143
|
+
- Fixed a bug with OAuth2 login where error callback was fired twice if getToken was not available.
|
|
125
144
|
|
|
126
145
|
## v3.0.1 2017-02-03
|
|
127
146
|
|
|
128
|
-
|
|
129
|
-
|
|
147
|
+
- Fixed a bug where Nodemailer threw an exception if `disableFileAccess` option was used
|
|
148
|
+
- Added FLOSS [exception declaration](FLOSS_EXCEPTIONS.md)
|
|
130
149
|
|
|
131
150
|
## v3.0.0 2017-01-31
|
|
132
151
|
|
|
133
|
-
|
|
152
|
+
- Initial version of Nodemailer 3
|
|
134
153
|
|
|
135
154
|
This update brings a lot of breaking changes:
|
|
136
155
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
156
|
+
- 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.
|
|
157
|
+
- Requires **Node.js v6+**
|
|
158
|
+
- 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
|
|
159
|
+
- **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.
|
|
160
|
+
- **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.
|
|
161
|
+
- **Improved Calendaring**. Provide an ical file to Nodemailer to send out [calendar events](https://nodemailer.com/message/calendar-events/).
|
|
143
162
|
|
|
144
163
|
And also some non-breaking changes:
|
|
145
164
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
165
|
+
- 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
|
|
166
|
+
- **Delivery status notifications** added to Nodemailer
|
|
167
|
+
- 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
|
|
168
|
+
- **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.
|
|
169
|
+
- **Sendmail** transport built-in, no need for external transport plugin
|
|
151
170
|
|
|
152
171
|
See [Nodemailer.com](https://nodemailer.com/) for full documentation
|
|
153
172
|
|
|
154
173
|
## 2.7.0 2016-12-08
|
|
155
174
|
|
|
156
|
-
|
|
175
|
+
- Bumped mailcomposer that generates encoded-words differently which might break some tests
|
|
157
176
|
|
|
158
177
|
## 2.6.0 2016-09-05
|
|
159
178
|
|
|
160
|
-
|
|
161
|
-
|
|
179
|
+
- Added new options disableFileAccess and disableUrlAccess
|
|
180
|
+
- Fixed envelope handling where cc/bcc fields were ignored in the envelope object
|
|
162
181
|
|
|
163
182
|
## 2.4.2 2016-05-25
|
|
164
183
|
|
|
165
|
-
|
|
184
|
+
- Removed shrinkwrap file. Seemed to cause more trouble than help
|
|
166
185
|
|
|
167
186
|
## 2.4.1 2016-05-12
|
|
168
187
|
|
|
169
|
-
|
|
188
|
+
- Fixed outdated shrinkwrap file
|
|
170
189
|
|
|
171
190
|
## 2.4.0 2016-05-11
|
|
172
191
|
|
|
173
|
-
|
|
174
|
-
|
|
192
|
+
- Bumped mailcomposer module to allow using `false` as attachment filename (suppresses filename usage)
|
|
193
|
+
- Added NTLM authentication support
|
|
175
194
|
|
|
176
195
|
## 2.3.2 2016-04-11
|
|
177
196
|
|
|
178
|
-
|
|
197
|
+
- Bumped smtp transport modules to get newest smtp-connection that fixes SMTPUTF8 support for internationalized email addresses
|
|
179
198
|
|
|
180
199
|
## 2.3.1 2016-04-08
|
|
181
200
|
|
|
182
|
-
|
|
201
|
+
- Bumped mailcomposer to have better support for message/822 attachments
|
|
183
202
|
|
|
184
203
|
## 2.3.0 2016-03-03
|
|
185
204
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
205
|
+
- Fixed a bug with attachment filename that contains mixed unicode and dashes
|
|
206
|
+
- Added built-in support for proxies by providing a new SMTP option `proxy` that takes a proxy configuration url as its value
|
|
207
|
+
- Added option `transport` to dynamically load transport plugins
|
|
208
|
+
- Do not require globally installed grunt-cli
|
|
190
209
|
|
|
191
210
|
## 2.2.1 2016-02-20
|
|
192
211
|
|
|
193
|
-
|
|
212
|
+
- Fixed a bug in SMTP requireTLS option that was broken
|
|
194
213
|
|
|
195
214
|
## 2.2.0 2016-02-18
|
|
196
215
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
216
|
+
- Removed the need to use `clone` dependency
|
|
217
|
+
- Added new method `verify` to check SMTP configuration
|
|
218
|
+
- Direct transport uses STARTTLS by default, fallbacks to plaintext if STARTTLS fails
|
|
219
|
+
- Added new message option `list` for setting List-\* headers
|
|
220
|
+
- Add simple proxy support with `getSocket` method
|
|
221
|
+
- Added new message option `textEncoding`. If `textEncoding` is not set then detect best encoding automatically
|
|
222
|
+
- Added new message option `icalEvent` to embed iCalendar events. Example [here](examples/ical-event.js)
|
|
223
|
+
- 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
|
|
224
|
+
- Added new message option `raw` to use an existing MIME message instead of generating a new one
|
|
206
225
|
|
|
207
226
|
## 2.1.0 2016-02-01
|
|
208
227
|
|
|
209
228
|
Republishing 2.1.0-rc.1 as stable. To recap, here's the notable changes between v2.0 and v2.1:
|
|
210
229
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
230
|
+
- 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/).
|
|
231
|
+
- Updated smtp-pool to emit 'idle' events in order to handle message queue more effectively
|
|
232
|
+
- Updated custom header handling, works everywhere the same now, no differences between adding custom headers to the message or to an attachment
|
|
214
233
|
|
|
215
234
|
## 2.1.0-rc.1 2016-01-25
|
|
216
235
|
|
|
217
236
|
Sneaked in some new features even though it is already rc
|
|
218
237
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
238
|
+
- If a SMTP pool is closed while there are still messages in a queue, the message callbacks are invoked with an error
|
|
239
|
+
- In case of SMTP pool the transporter emits 'idle' when there is a free connection slot available
|
|
240
|
+
- Added method `isIdle()` that checks if a pool has still some free connection slots available
|
|
222
241
|
|
|
223
242
|
## 2.1.0-rc.0 2016-01-20
|
|
224
243
|
|
|
225
|
-
|
|
244
|
+
- Bumped dependency versions
|
|
226
245
|
|
|
227
246
|
## 2.1.0-beta.3 2016-01-20
|
|
228
247
|
|
|
229
|
-
|
|
248
|
+
- Added support for node-email-templates templating in addition to the built-in renderer
|
|
230
249
|
|
|
231
250
|
## 2.1.0-beta.2 2016-01-20
|
|
232
251
|
|
|
233
|
-
|
|
252
|
+
- Implemented simple templating feature
|
|
234
253
|
|
|
235
254
|
## 2.1.0-beta.1 2016-01-20
|
|
236
255
|
|
|
237
|
-
|
|
256
|
+
- Allow using prepared header values that are not folded or encoded by Nodemailer
|
|
238
257
|
|
|
239
258
|
## 2.1.0-beta.0 2016-01-20
|
|
240
259
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
260
|
+
- Use the same header custom structure for message root, attachments and alternatives
|
|
261
|
+
- Ensure that Message-Id exists when accessing message
|
|
262
|
+
- Allow using array values for custom headers (inserts every value in its own row)
|
|
244
263
|
|
|
245
264
|
## 2.0.0 2016-01-11
|
|
246
265
|
|
|
247
|
-
|
|
266
|
+
- Released rc.2 as stable
|
|
248
267
|
|
|
249
268
|
## 2.0.0-rc.2 2016-01-04
|
|
250
269
|
|
|
251
|
-
|
|
270
|
+
- Locked dependencies
|
|
252
271
|
|
|
253
272
|
## 2.0.0-beta.2 2016-01-04
|
|
254
273
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
274
|
+
- Updated documentation to reflect changes with SMTP handling
|
|
275
|
+
- Use beta versions for smtp/pool/direct transports
|
|
276
|
+
- Updated logging
|
|
258
277
|
|
|
259
278
|
## 2.0.0-beta.1 2016-01-03
|
|
260
279
|
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
280
|
+
- Use bunyan compatible logger instead of the emit('log') style
|
|
281
|
+
- Outsourced some reusable methods to nodemailer-shared
|
|
282
|
+
- Support setting direct/smtp/pool with the default configuration
|
|
264
283
|
|
|
265
284
|
## 2.0.0-beta.0 2015-12-31
|
|
266
285
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
286
|
+
- Stream errors are not silently swallowed
|
|
287
|
+
- Do not use format=flowed
|
|
288
|
+
- Use nodemailer-fetch to fetch URL streams
|
|
289
|
+
- jshint replaced by eslint
|
|
271
290
|
|
|
272
291
|
## v1.11.0 2015-12-28
|
|
273
292
|
|
|
@@ -363,147 +382,147 @@ Total rewrite. See migration guide here: <http://www.andrisreinman.com/nodemaile
|
|
|
363
382
|
|
|
364
383
|
## v0.7.1 2014-07-09
|
|
365
384
|
|
|
366
|
-
|
|
385
|
+
- Upgraded aws-sdk to 2.0.5
|
|
367
386
|
|
|
368
387
|
## v0.7.0 2014-06-17
|
|
369
388
|
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
389
|
+
- Bumped version to v0.7.0
|
|
390
|
+
- Fix AWS-SES usage [5b6bc144]
|
|
391
|
+
- Replace current SES with new SES using AWS-SDK (Elanorr) [c79d797a]
|
|
392
|
+
- Updated README.md about Node Email Templates (niftylettuce) [e52bef81]
|
|
374
393
|
|
|
375
394
|
## v0.6.5 2014-05-15
|
|
376
395
|
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
396
|
+
- Bumped version to v0.6.5
|
|
397
|
+
- Use tildes instead of carets for dependency listing [5296ce41]
|
|
398
|
+
- Allow clients to set a custom identityString (venables) [5373287d]
|
|
399
|
+
- bugfix (adding "-i" to sendmail command line for each new mail) by copying this.args (vrodic) [05a8a9a3]
|
|
400
|
+
- update copyright (gdi2290) [3a6cba3a]
|
|
382
401
|
|
|
383
402
|
## v0.6.4 2014-05-13
|
|
384
403
|
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
404
|
+
- Bumped version to v0.6.4
|
|
405
|
+
- added npmignore, bumped dependencies [21bddcd9]
|
|
406
|
+
- Add AOL to well-known services (msouce) [da7dd3b7]
|
|
388
407
|
|
|
389
408
|
## v0.6.3 2014-04-16
|
|
390
409
|
|
|
391
|
-
|
|
392
|
-
|
|
410
|
+
- Bumped version to v0.6.3
|
|
411
|
+
- Upgraded simplesmtp dependency [dd367f59]
|
|
393
412
|
|
|
394
413
|
## v0.6.2 2014-04-09
|
|
395
414
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
415
|
+
- Bumped version to v0.6.2
|
|
416
|
+
- Added error option to Stub transport [c423acad]
|
|
417
|
+
- Use SVG npm badge (t3chnoboy) [677117b7]
|
|
418
|
+
- add SendCloud to well known services (haio) [43c358e0]
|
|
419
|
+
- High-res build-passing and NPM module badges (sahat) [9fdc37cd]
|
|
401
420
|
|
|
402
421
|
## v0.6.1 2014-01-26
|
|
403
422
|
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
423
|
+
- Bumped version to v0.6.1
|
|
424
|
+
- Do not throw on multiple errors from sendmail command [c6e2cd12]
|
|
425
|
+
- Do not require callback for pickup, fixes #238 [93eb3214]
|
|
426
|
+
- Added AWSSecurityToken information to README, fixes #235 [58e921d1]
|
|
427
|
+
- Added Nodemailer logo [06b7d1a8]
|
|
409
428
|
|
|
410
429
|
## v0.6.0 2013-12-30
|
|
411
430
|
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
431
|
+
- Bumped version to v0.6.0
|
|
432
|
+
- Allow defining custom transport methods [ec5b48ce]
|
|
433
|
+
- Return messageId with responseObject for all built in transport methods [74445cec]
|
|
434
|
+
- Bumped dependency versions for mailcomposer and readable-stream [9a034c34]
|
|
435
|
+
- Changed pickup argument name to 'directory' [01c3ea53]
|
|
436
|
+
- Added support for IIS pickup directory with PICKUP transport (philipproplesch) [36940b59..360a2878]
|
|
437
|
+
- Applied common styles [9e93a409]
|
|
438
|
+
- Updated readme [c78075e7]
|
|
420
439
|
|
|
421
440
|
## v0.5.15 2013-12-13
|
|
422
441
|
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
442
|
+
- bumped version to v0.5.15
|
|
443
|
+
- Updated README, added global options info for setting uo transports [554bb0e5]
|
|
444
|
+
- Resolve public hostname, if resolveHostname property for a transport object is set to `true` [9023a6e1..4c66b819]
|
|
426
445
|
|
|
427
446
|
## v0.5.14 2013-12-05
|
|
428
447
|
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
448
|
+
- bumped version to v0.5.14
|
|
449
|
+
- Expose status for direct messages [f0312df6]
|
|
450
|
+
- Allow to skip the X-Mailer header if xMailer value is set to 'false' [f2c20a68]
|
|
432
451
|
|
|
433
452
|
## v0.5.13 2013-12-03
|
|
434
453
|
|
|
435
|
-
|
|
436
|
-
|
|
454
|
+
- bumped version to v0.5.13
|
|
455
|
+
- Use the name property from the transport object to use for the domain part of message-id values (1598eee9)
|
|
437
456
|
|
|
438
457
|
## v0.5.12 2013-12-02
|
|
439
458
|
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
459
|
+
- bumped version to v0.5.12
|
|
460
|
+
- Expose transport method and transport module version if available [a495106e]
|
|
461
|
+
- Added 'he' module instead of using custom html entity decoding [c197d102]
|
|
462
|
+
- Added xMailer property for transport configuration object to override X-Mailer value [e8733a61]
|
|
463
|
+
- Updated README, added description for 'mail' method [e1f5f3a6]
|
|
445
464
|
|
|
446
465
|
## v0.5.11 2013-11-28
|
|
447
466
|
|
|
448
|
-
|
|
449
|
-
|
|
467
|
+
- bumped version to v0.5.11
|
|
468
|
+
- Updated mailcomposer version. Replaces ent with he [6a45b790e]
|
|
450
469
|
|
|
451
470
|
## v0.5.10 2013-11-26
|
|
452
471
|
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
472
|
+
- bumped version to v0.5.10
|
|
473
|
+
- added shorthand function mail() for direct transport type [88129bd7]
|
|
474
|
+
- minor tweaks and typo fixes [f797409e..ceac0ca4]
|
|
456
475
|
|
|
457
476
|
## v0.5.9 2013-11-25
|
|
458
477
|
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
478
|
+
- bumped version to v0.5.9
|
|
479
|
+
- Update for 'direct' handling [77b84e2f]
|
|
480
|
+
- do not require callback to be provided for 'direct' type [ec51c79f]
|
|
462
481
|
|
|
463
482
|
## v0.5.8 2013-11-22
|
|
464
483
|
|
|
465
|
-
|
|
466
|
-
|
|
484
|
+
- bumped version to v0.5.8
|
|
485
|
+
- Added support for 'direct' transport [826f226d..0dbbcbbc]
|
|
467
486
|
|
|
468
487
|
## v0.5.7 2013-11-18
|
|
469
488
|
|
|
470
|
-
|
|
471
|
-
|
|
489
|
+
- bumped version to v0.5.7
|
|
490
|
+
- 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
|
|
472
491
|
|
|
473
492
|
## v0.5.6 2013-11-15
|
|
474
493
|
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
494
|
+
- bumped version to v0.5.6
|
|
495
|
+
- Upgraded mailcomposer dependency to 0.2.4 [e5ff9c40]
|
|
496
|
+
- Removed noCR option [e810d1b8]
|
|
497
|
+
- Update wellknown.js, added FastMail (k-j-kleist) [cf930f6d]
|
|
479
498
|
|
|
480
499
|
## v0.5.5 2013-10-30
|
|
481
500
|
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
501
|
+
- bumped version to v0.5.5
|
|
502
|
+
- Updated mailcomposer dependnecy version to 0.2.3
|
|
503
|
+
- Remove legacy code - node v0.4 is not supported anymore anyway
|
|
504
|
+
- Use hostname (autodetected or from the options.name property) for Message-Id instead of "Nodemailer" (helps a bit when messages are identified as spam)
|
|
505
|
+
- Added maxMessages info to README
|
|
487
506
|
|
|
488
507
|
## v0.5.4 2013-10-29
|
|
489
508
|
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
509
|
+
- bumped version to v0.5.4
|
|
510
|
+
- added "use strict" statements
|
|
511
|
+
- Added DSN info to README
|
|
512
|
+
- add support for QQ enterprise email (coderhaoxin)
|
|
513
|
+
- Add a Bitdeli Badge to README
|
|
514
|
+
- DSN options Passthrought into simplesmtp. (irvinzz)
|
|
496
515
|
|
|
497
516
|
## v0.5.3 2013-10-03
|
|
498
517
|
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
518
|
+
- bumped version v0.5.3
|
|
519
|
+
- Using a stub transport to prevent sendmail from being called during a test. (jsdevel)
|
|
520
|
+
- closes #78: sendmail transport does not work correctly on Unix machines. (jsdevel)
|
|
521
|
+
- Updated PaaS Support list to include Modulus. (fiveisprime)
|
|
522
|
+
- Translate self closing break tags to newline (kosmasgiannis)
|
|
523
|
+
- fix typos (aeosynth)
|
|
505
524
|
|
|
506
525
|
## v0.5.2 2013-07-25
|
|
507
526
|
|
|
508
|
-
|
|
509
|
-
|
|
527
|
+
- bumped version v0.5.2
|
|
528
|
+
- Merge pull request #177 from MrSwitch/master Fixing Amazon SES, fatal error caused by bad connection
|
package/lib/base64/index.js
CHANGED
|
@@ -87,8 +87,8 @@ class Encoder extends Transform {
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
if (chunk.length % 3) {
|
|
90
|
-
this._remainingBytes = chunk.slice(chunk.length - chunk.length % 3);
|
|
91
|
-
chunk = chunk.slice(0, chunk.length - chunk.length % 3);
|
|
90
|
+
this._remainingBytes = chunk.slice(chunk.length - (chunk.length % 3));
|
|
91
|
+
chunk = chunk.slice(0, chunk.length - (chunk.length % 3));
|
|
92
92
|
} else {
|
|
93
93
|
this._remainingBytes = false;
|
|
94
94
|
}
|