I'm trying to use Office365 SMTP to send email using Nodemailer (in scaffold MEANjs), but I get the following error:
[Error: 140735277183760:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:795:]
I use the following Nodemailer options:
{ host: 'smtp.office365.com', port: '587', auth: { user: 'xxxx', pass: 'xxxx' }, secure: 'false', tls: { ciphers: 'SSLv3' } }
Removing the tls field does not matter. What am I missing?
Prasad silva
source share