【问题标题】:How to customize sender for Meteor Accounts' password reset mail如何自定义 Meteor Accounts 密码重置邮件的发件人
【发布时间】:2015-10-01 15:53:36
【问题描述】:

如何自定义Meteor Accounts发送的密码重置邮件的发件人?

【问题讨论】:

    标签: javascript meteor meteor-accounts


    【解决方案1】:

    Meteor Accounts 在发送密码重置邮件时使用的发件人由Accounts.emailTemplates.sender 属性控制。只需在服务器启动时为其分配所需的值,例如:

    Meteor.startup(function () {
      Accounts.emailTemplates.from = "Admin <no-reply@example.com>"
    })
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-07-28
      • 1970-01-01
      • 2021-05-15
      • 1970-01-01
      • 2013-04-06
      • 2011-08-06
      • 2015-08-10
      • 2015-03-12
      相关资源
      最近更新 更多