config.js 568 Bytes
// process.env.MAIL_URL = "smtp://postmaster%40sandboxdac306638463443cb5d8adc4380ea78d.mailgun.org:9a2131ff0360b37dae90faca340e6b8f@smtp.mailgun.org:587";
// process.env.MAIL_URL = "smtp://block8:cfxJfbe7xI7qfTgE2DB22g@smtp.mandrillapp.com:587";      /* Test Mode */

import { Accounts }                       from 'meteor/accounts-base';

process.env.MAIL_URL = Meteor.settings.private.mandrill.mailUrl;
Accounts.emailTemplates.siteName = 'YoungDesk';
Accounts.emailTemplates.from     = 'YoungDesk <support@youngdesk.com>';
console.log(Accounts.emailTemplates.from);