nodemailer
Advanced tools
Comparing version 6.7.2 to 6.7.3
# CHANGELOG | ||
## 6.7.3 2022-03-21 | ||
- Typo fixes | ||
- Added stale issue automation fir Github | ||
- Add Infomaniak config to well known service (popod) | ||
- Update Outlook/Hotmail host in well known services (popod) | ||
- fix: DSN recipient gets ignored (KornKalle) | ||
## 6.7.2 2021-11-26 | ||
@@ -84,3 +92,3 @@ | ||
- Always set charset=utf-8 for Content-Type headers | ||
- Catch error whn using invalid crypto.sign input | ||
- Catch error when using invalid crypto.sign input | ||
@@ -87,0 +95,0 @@ ## 6.4.6 2020-03-20 |
@@ -152,3 +152,3 @@ 'use strict'; | ||
* @param {Object} options Stream options | ||
* @param {Number} [options.lineLength=76] Maximum lenght for lines, set to false to disable wrapping | ||
* @param {Number} [options.lineLength=76] Maximum length for lines, set to false to disable wrapping | ||
*/ | ||
@@ -155,0 +155,0 @@ class Encoder extends Transform { |
@@ -1111,3 +1111,3 @@ 'use strict'; | ||
let orcpt = (params.orcpt || params.recipient || '').toString() || null; | ||
let orcpt = (params.recipient || params.orcpt || '').toString() || null; | ||
if (orcpt && orcpt.indexOf(';') < 0) { | ||
@@ -1114,0 +1114,0 @@ orcpt = 'rfc822;' + orcpt; |
@@ -75,3 +75,3 @@ { | ||
"domains": ["hotmail.com", "outlook.com"], | ||
"host": "smtp.live.com", | ||
"host": "smtp-mail.outlook.com", | ||
"port": 587 | ||
@@ -87,2 +87,8 @@ }, | ||
"Infomaniak": { | ||
"host": "mail.infomaniak.com", | ||
"domains": ["ik.me", "ikmail.com", "etik.com"], | ||
"port": 587 | ||
}, | ||
"mail.ee": { | ||
@@ -89,0 +95,0 @@ "host": "smtp.mail.ee" |
{ | ||
"name": "nodemailer", | ||
"version": "6.7.2", | ||
"version": "6.7.3", | ||
"description": "Easy as cake e-mail sending from your Node.js applications", | ||
@@ -23,8 +23,8 @@ "main": "lib/nodemailer.js", | ||
"devDependencies": { | ||
"@aws-sdk/client-ses": "3.41.0", | ||
"aws-sdk": "2.1028.0", | ||
"@aws-sdk/client-ses": "3.54.1", | ||
"aws-sdk": "2.1096.0", | ||
"bunyan": "1.8.15", | ||
"chai": "4.3.4", | ||
"chai": "4.3.6", | ||
"eslint-config-nodemailer": "1.2.0", | ||
"eslint-config-prettier": "8.3.0", | ||
"eslint-config-prettier": "8.5.0", | ||
"grunt": "1.4.1", | ||
@@ -37,8 +37,8 @@ "grunt-cli": "1.4.3", | ||
"libqp": "1.1.0", | ||
"mocha": "9.1.3", | ||
"mocha": "9.2.2", | ||
"nodemailer-ntlm-auth": "1.0.1", | ||
"proxy": "1.0.2", | ||
"proxy-test-server": "1.0.0", | ||
"sinon": "12.0.1", | ||
"smtp-server": "3.9.0" | ||
"sinon": "13.0.1", | ||
"smtp-server": "3.10.0" | ||
}, | ||
@@ -45,0 +45,0 @@ "engines": { |
@@ -5,3 +5,3 @@ # Nodemailer | ||
Send e-mails from Node.js – easy as cake! 🍰✉️ | ||
Send emails from Node.js – easy as cake! 🍰✉️ | ||
@@ -14,3 +14,3 @@ [![NPM](https://nodei.co/npm/nodemailer.png?downloads=true&downloadRank=true&stars=true)](https://nodemailer.com/about/) | ||
> Nodemailer supports all Node.js versions starting from Node.js@v6.0.0. Existing test suite does not support such old Node.js versions so all features are not actually tested. From time to time some regression bugs might occur because of this. | ||
> Nodemailer supports all Node.js versions starting from Node.js@v6.0.0. The existing test suite does not support such old Node.js versions, so all features are not tested. From time to time, some regression bugs might occur because of this. | ||
@@ -23,17 +23,39 @@ #### First review the docs | ||
You are using older Node.js version than v6.0. Upgrade Node.js to get support for the spread operator. | ||
You are using an older Node.js version than v6.0. Upgrade Node.js to get support for the spread operator. | ||
#### I'm having issues with Gmail | ||
Gmail either works well or it does not work at all. It is probably easier to switch to an alternative service instead of fixing issues with Gmail. If Gmail does not work for you then don't use it. Read more about it [here](https://nodemailer.com/usage/using-gmail/). | ||
Gmail either works well, or it does not work at all. It is probably easier to switch to an alternative service instead of fixing issues with Gmail. If Gmail does not work for you, then don't use it. Read more about it [here](https://nodemailer.com/usage/using-gmail/). | ||
#### I get ETIMEDOUT errors | ||
Check your firewall settings. Timeout usually occurs when you try to open a connection to a port that is firewalled either on the server or on your machine. | ||
Check your firewall settings. Timeout usually occurs when you try to open a connection to a firewalled port either on the server or on your machine. Some ISPs also block email ports to prevent spamming. | ||
#### Nodemailer works on one machine but not in another | ||
It's either a firewall issue, or your SMTP server blocks authentication attempts from some servers. | ||
#### I get TLS errors | ||
- If you are running the code in your own machine, then check your antivirus settings. Antiviruses often mess around with email ports usage. Node.js might not recognize the MITM cert your antivirus is using. | ||
- Latest Node versions allow only TLS versions 1.2 and higher, some servers might still use TLS 1.1 or lower. Check Node.js docs how to get correct TLS support for your app. | ||
- If you are running the code on your machine, check your antivirus settings. Antiviruses often mess around with email ports usage. Node.js might not recognize the MITM cert your antivirus is using. | ||
- Latest Node versions allow only TLS versions 1.2 and higher. Some servers might still use TLS 1.1 or lower. Check Node.js docs on how to get correct TLS support for your app. | ||
- You might have the wrong value for the `secure` option. This is `true` _only_ for port 465. For every other port, it should be `false`. Setting `secure` to `false` does not mean that Nodemailer would not use TLS. Nodemailer would still try to upgrade the connection to use TLS if the server supports it. | ||
- Older Node versions do not support the newest Let's Encrypt certificates. Either set `tls.rejectUnauthorized` to `false` or upgrade your Node version | ||
#### I have issues with DNS / hosts file | ||
Nodemailer uses `dns.resolve4()` and `dns.resolve6()` to resolve hostname into an IP address. If both calls fail, then Nodemailer will fall back to `dns.lookup()`. If this does not work for you, you can hard code the IP address into the configuration. In that case, Nodemailer would not perform any DNS lookups. | ||
``` | ||
let configOptions = { | ||
host: "1.2.3.4", | ||
port: 465, | ||
secure: true, | ||
tls: { | ||
// must provide server name, otherwise TLS certificate check will fail | ||
servername: "example.com" | ||
} | ||
} | ||
``` | ||
#### I have a different problem | ||
@@ -40,0 +62,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
480889
11556
69