matsuda
3/3/2011 - 6:43 AM

action_mailer_fix_encoding.rb

# see also: http://d.hatena.ne.jp/takahashim/20101201/p1
class ActionMailer::Base
  def process_with_fix_encoding(*args)
    process_without_fix_encoding(*args)
    message.transport_encoding = '8bit'
  end
  alias_method_chain :process, :fix_encoding
end