nodeclub 注册中的邮件验证需要等多久?
发布于 2 天前 作者 devkerby 148 次浏览 来自 问答

貌似很慢啊

8 回复

看你用什么邮件发送了 我用126和163很快。Vue+webpack+node.js实现价格监测应用Ponitor——换个姿势爬虫!! https://cnodejs.org/topic/56fbfbdd93a6967159553a58

按理说是很快的,不过如果你用国内的邮箱提供商发到 gmail 的话,可能就会有网络限制的情况。

或者其实邮件根本没发出来?

是不是得看看有没有报错~

@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)

@giscafer 你的邮箱怎么配置的啊,我配置了几次都报错,端口号25和465

@devkerby 看我给你项目链接的代码吧。邮箱配置在src/config.global.default.js、右键发送在src/common/mail.js

好像邮箱目前需要绑定手机号才能发送了。

可以去网易邮箱搜索错误代码454 代表啥意思

@giscafer 多谢,试验了半下午,搞定了,需要客户端密码

回到顶部