貌似很慢啊
看你用什么邮件发送了 我用126和163很快。Vue+webpack+node.js实现价格监测应用Ponitor——换个姿势爬虫!! https://cnodejs.org/topic/56fbfbdd93a6967159553a58
@alsotang 我配置了网易的邮箱,但是发送不了,提示: [2016-03-31 17:20:43.795] [ERROR] cheese - { [Error: Greeting never received] code: ‘ETIMEDOUT’ } Error: Greeting never received at SMTPConnection._formatError (/home/workspace/nodeclub-master/node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/lib/smtp-connection.js:466:15) at SMTPConnection._onError (/home/workspace/nodeclub-master/node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/lib/smtp-connection.js:452:16) at SMTPConnection.<anonymous> (/home/workspace/nodeclub-master/node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/lib/smtp-connection.js:393:18) at Timer.listOnTimeout (timers.js:92:15)
端口号改为25后,报错 [ERROR] cheese - { [Error: Error upgrading connection with STARTTLS: 454 Command not permitted when TLS active] code: ‘ETLS’, response: ‘454 Command not permitted when TLS active’, responseCode: 454 } Error: Error upgrading connection with STARTTLS: 454 Command not permitted when TLS active at SMTPConnection._actionSTARTTLS (/home/workspace/nodeclub-master/node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/lib/smtp-connection.js:826:23) at SMTPConnection._processResponse (/home/workspace/nodeclub-master/node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/lib/smtp-connection.js:604:16) at SMTPConnection._onData (/home/workspace/nodeclub-master/node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/lib/smtp-connection.js:431:10) at emitOne (events.js:77:13) at TLSSocket.emit (events.js:169:7) at readableAddChunk (_stream_readable.js:153:18) at TLSSocket.Readable.push (_stream_readable.js:111:10) at TLSWrap.onread (net.js:529:20)
@devkerby 看我给你项目链接的代码吧。邮箱配置在src/config.global.default.js、右键发送在src/common/mail.js
好像邮箱目前需要绑定手机号才能发送了。
可以去网易邮箱搜索错误代码454 代表啥意思