scottmotte
2011-Feb-15 18:57 UTC
How to set content_transfer_encoding to something other than quoted-printable?
Hi all, How do I set the content_transfer_encoding for mail with actionmailer to something other than quoted-printable? It''s a setting with TMail which action mailer relies on in rails 2.3.*. I am trying to set it to utf8 I have tried: - mail = TMail::Mail.new; mail.transfer_encoding = "utf8"; - setting the @header["Content-Transfer-Encoding"] in the mailer''s delivery method - various combinations of ActionMailer::Base.transfer_encoding = , content_transfer_encoding =, [:content_transfer_encoding], etc - all kinds of other craziness with encoding/decoding attempts There is a comment here that there is a setting in the docs: http://www.ruby-forum.com/topic/172132#755189, but I cannot find it. Anyone have any ideas? Anything is welcome. This one I''ve been stuck on for 5 hours now. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.