小编sko*_*rec的帖子

smtp通过postfix和nodejs nodemailer连接关闭发送邮件

我有使用nodejs模块nodemailer通过smtp服务器远程发送的问题

host: 'mail.5cpa.ru'
port: 587
secure: false (true tried also)
Run Code Online (Sandbox Code Playgroud)

smtp服务器是我的,我可以通过thenderbird发送邮件,使用相同的设置

日志

server 220 5cpa.ru ESMTP Postfix (Ubuntu)
client EHLO vonica
server 250-5cpa.ru
250-PIPELINING
250-SIZE 15728640
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
client STARTTLS
server 220 2.0.0 Ready to start TLS
socket Closing connection to the server
Run Code Online (Sandbox Code Playgroud)

谢谢!

email postfix-mta smtp node.js nodemailer

1
推荐指数
2
解决办法
8884
查看次数

标签 统计

email ×1

node.js ×1

nodemailer ×1

postfix-mta ×1

smtp ×1