begin
  if Rails.env.production?
    ActionMailer::Base.smtp_settings = {
    address: 'smtp.mandrillapp.com',
    port: '587',
    authentication: :plain,
    user_name: Configuration[:mandrill_user_name],
    password: Configuration[:mandrill],
    domain: 'heroku.com'
    }
    ActionMailer::Base.delivery_method = :smtp
  end
rescue
  nil
end

begin
  ActionMailer::Base.default 'Content-Transfer-Encoding' => 'quoted-printable'

  if Rails.env.production?
    ActionMailer::Base.smtp_settings = {
    address: 'smtp.mandrillapp.com',
    port: '587',
    authentication: :plain,
    user_name: Configuration[:mandrill_user_name],
    password: Configuration[:mandrill],
    domain: 'heroku.com'
    }
    ActionMailer::Base.delivery_method = :smtp
  end
rescue
  nil
end

Add quoted-printable to ActionMailer Content-Transfer-Encoding
Add quoted-printable to ActionMailer Content-Transfer-Encoding
