title: Meteor mail not sending despite setting MAIL_URL environment variable
body: <p>I'm getting this error message in the terminal "Mail not sent; to enable sending, set the MAIL_URL environment variable." despite setting MAIL_URL environment variable. After this message the whole mail content html gets dumped in the terminal. I'm using 2 meteor packages for sending email: yogiben:pretty-emails and email with mailgun api service.</p>
  
  <p>Here's the source code for the mail config and sending email:</p>
  
  <pre><code>if Meteor.isServer
      Meteor.startup -&gt;
          process.env.MAIL_URL = 'smtp://sandboxid.mailgun.org:mypassword@smtp.mailgun.org:587'
          return
  
  
      PrettyEmail.options = 
          from: 'primaryemail@gmail.com'
  
          siteName: 'Meteor Test'
          companyAddress: 'sdfsf, gdfg-df'
          companyName: 'Code to Create'
          companyUrl: 'http://example.com'
  
      Accounts.sendVerificationEmail -&gt;
          Meteor.userId()
  </code></pre>
  
  <p>This file is kept inside Project_Directory/both/_config directory. I'm currently developing this app on local ubuntu server.</p>