Meteor Reset Password issue

if(Meteor.isServer){
Meteor.startup(function() {
process.env.MAIL_URL = ‘smtp://postmaster%40sandboxceexxxxxxxxx.mailgun.org:xxxxxxxxxxx@smtp.mailgun.org:587’;
Accounts.emailTemplates.from=“Verification Link”;
Uploader.uploadUrl = Meteor.absoluteUrl(“upload”); // Cordova needs absolute URL
});
}

It shows error:

====== BEGIN MAIL #0 ====== │
I20170316-18:19:11.753(5.5)? (Mail not sent; to enable sending, set the MAIL│
_URL environment variable.)
elow.

You need to pass in the MAIL_URL variable via settings, you can not just set it by modifying the process.env of the running process

1 Like

Please help with it, how to pass in the MAIL_URL via setting, because i am unable to find any resource regarding it. Thanks.

check out the deployment guide