How to change the mailer Content-Transfer-Encoding settings in Rails?
I found that setting the (undocumented) transport_encoding on the Mail object works:
m = mail(...)
m.transport_encoding = "quoted-printable"
m.deliver
I could not get the documented approach of setting the Content-Transfer-Encoding via ActionMailer to work.
My environment: rails (3.1), mail (~> 2.3.3)
If you use a custom mailer class, you can set it as a default option in your mailer class, as described in the documentation of ActionMailer::Base
class Notifier < ApplicationMailer
default 'Content-Transfer-Encoding' => '7bit'
end