@@ -421,7 +421,7 class MailHandler < ActionMailer::Base | |||
|
421 | 421 | end |
|
422 | 422 | |
|
423 | 423 | @plain_text_body = parts.map do |p| |
|
424 |
body_charset = |
|
|
424 | body_charset = Mail::RubyVer.respond_to?(:pick_encoding) ? | |
|
425 | 425 | Mail::RubyVer.pick_encoding(p.charset).to_s : p.charset |
|
426 | 426 | Redmine::CodesetUtil.to_utf8(p.body.decoded, body_charset) |
|
427 | 427 | end.join("\r\n") |
General Comments 0
You need to be logged in to leave comments.
Login now