【发布时间】:2015-06-30 23:18:01
【问题描述】:
我正在尝试使用 Office365 SMTP 通过 Nodemailer(在 MEANjs 脚手架中)发送电子邮件,但我收到以下错误:
[Error: 140735277183760:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:795:]
我正在使用以下 Nodemailer 选项:
{
host: 'smtp.office365.com',
port: '587',
auth: { user: 'xxxx', pass: 'xxxx' },
secure: 'false',
tls: { ciphers: 'SSLv3' }
}
删除 tls 字段并没有什么不同。我错过了什么?
【问题讨论】:
标签: node.js email office365 meanjs nodemailer