meteor中如何正确使用sendcloud?
注册sendcloud之后
我在正确设置了process.env.MAIL_URL之后,没有再添加任何代码
使用的是ian:accounts-ui-bootstrap-3包,点击忘记密码后出现如下问题:
I20160620-00:39:27.760(8)? Exception while invoking method 'forgotPassword' DeliveryError: Message delivery failed: 553 template_validate not match, reason:unequal content
I20160620-00:39:27.762(8)? at Object.Future.wait (/home/quoniam/.meteor/packages/meteor-tool/.1.3.2_4.10vjklo++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:420:15)
I20160620-00:39:27.762(8)? at smtpSend (packages/email/email.js:89:1)
I20160620-00:39:27.762(8)? at Object.Email.send (packages/email/email.js:188:1)
I20160620-00:39:27.763(8)? at AccountsServer.Accounts.sendResetPasswordEmail (packages/accounts-password/password_server.js:577:9)
I20160620-00:39:27.763(8)? at [object Object].forgotPassword (packages/accounts-password/password_server.js:516:12)
I20160620-00:39:27.763(8)? at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1704:12)
I20160620-00:39:27.763(8)? at packages/ddp-server/livedata_server.js:711:19
I20160620-00:39:27.763(8)? at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
I20160620-00:39:27.764(8)? at packages/ddp-server/livedata_server.js:709:40
I20160620-00:39:27.764(8)? at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
I20160620-00:39:27.764(8)? - - - - -
I20160620-00:39:27.764(8)? at SMTPConnectionPool._onConnectionReady (/home/quoniam/.meteor/packages/email/.1.0.12.eitj2++os+web.browser+web.cordova/npm/node_modules/simplesmtp/lib/pool.js:287:21)
I20160620-00:39:27.764(8)? at SMTPClient.emit (events.js:98:17)
I20160620-00:39:27.765(8)? at SMTPClient._actionStream (/home/quoniam/.meteor/packages/email/.1.0.12.eitj2++os+web.browser+web.cordova/npm/node_modules/simplesmtp/lib/client.js:946:14)
I20160620-00:39:27.765(8)? at SMTPClient._onData (/home/quoniam/.meteor/packages/email/.1.0.12.eitj2++os+web.browser+web.cordova/npm/node_modules/simplesmtp/lib/client.js:329:29)
I20160620-00:39:27.765(8)? at CleartextStream.emit (events.js:95:17)
I20160620-00:39:27.765(8)? at CleartextStream.<anonymous> (_stream_readable.js:765:14)
I20160620-00:39:27.765(8)? at CleartextStream.emit (events.js:92:17)
I20160620-00:39:27.766(8)? at emitReadable_ (_stream_readable.js:427:10)
I20160620-00:39:27.766(8)? at _stream_readable.js:420:7
I20160620-00:39:27.766(8)? at process._tickCallback (node.js:458:13)
显示的是内容不相等的问题?我想请教一下该如何解决这个问题?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决方法:
通过
Accounts.emailTemplates
进行模板的相关设置详情见链接