title: Mandrill + Rails not sending via controller but sending via console
body: <p>Hi I am having a very strange problem. I setup mandrill as per the docs and I am now unable to send mail via my controller. Even devise mails do not seem to be going.... But I am able to send it via the console!</p>
  
  <p><strong>My Mail Config</strong></p>
  
  <pre><code>  config.action_mailer.default_url_options = { :host =&gt; 'smtp.mandrillapp.com' }
    config.action_mailer.perform_deliveries = true
    config.action_mailer.delivery_method = :smtp
    config.action_mailer.smtp_settings = {
      :address   =&gt; "smtp.mandrillapp.com",
      :port      =&gt; 587,
      :enable_starttls_auto =&gt; true,
      :user_name =&gt; ENV["MANDRILL_USERNAME"],
      :password  =&gt; ENV["MANDRILL_APIKEY"],
      :authentication =&gt; 'plain',
      :domain =&gt; 'yim.mydomain.org',
    }
  </code></pre>
  
  <p><strong>My Mailer</strong></p>
  
  <pre><code>class YimMailer &lt; ActionMailer::Base
    default from: "notifier@yim.mydomain.org"
  
    def welcome_email(user, data)
      @user = user
      @data = data
      mail(to: @user.email, subject: 'Welcome!')
    end
  end
  </code></pre>
  
  <p><strong>In my controller:</strong></p>
  
  <pre><code>YimMailer.welcome_email(current_user, dummydata).deliver
  </code></pre>
  
  <p>When i execute the same line via the console, it delivers. What could be the issue?</p>
  
  <p>I am using rails 4</p>