我有使用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)
谢谢!