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.