Search code examples
javascriptmeteormeteor-accounts

How to customize sender for Meteor Accounts' password reset mail


How can I customize the sender for password reset mail sent by Meteor Accounts?


Solution

  • The sender used by Meteor Accounts when sending password reset mail is controlled by the Accounts.emailTemplates.sender attribute. Just assign your desired value to it on server startup, for example:

    Meteor.startup(function () {
      Accounts.emailTemplates.from = "Admin <[email protected]>"
    })