The version:
"nodemailer": "^1.3.4",
I just tried several different mail service but always have this issue. I turn ssl authentication on, the code is like:
ssl: true
or
secureConnection: true
I do not know what is the problem :(
Just experienced this as well.
Fixed using secureConnection: true
and port: 465
.
I also encountered this problem,do not know what is the problem too. :cry:
This usually happens when the server expects encrypted connection but you start out as plaintext. To connect to secure servers you should use the following setup (note the secure
option):
var transporter = nodemailer.createTransport({
host: 'localhost',
port: 465,
secure: true,
auth: {
user: 'username',
pass: 'password'
}
});
@andris9 it haha ,solved
Thank you @andris9
Just experienced this as well.
Fixed usingsecureConnection: true
andport: 465
.
This solved it for me
Most helpful comment
Just experienced this as well.
Fixed using
secureConnection: true
andport: 465
.