Setting your own smtp for forgotPassword?


I saw some tutorials and wrote this code on Server.

Meteor.startup(() => {
    process.env.MAIL_URL = "smtp://";

But the email I received for password reset comes from What should I do to send forgot Password emails from my own email?



Are you using useraccounts or accounts-password package? If so, you can configure “From” email like this:

Accounts.emailTemplates.from = "";


i’m using accounts-password