Defect #11191 » redmine_mail_receive.diff
app/models/mail_handler.rb.orig → app/models/mail_handler.rb | ||
---|---|---|
378 | 378 |
end |
379 | 379 |
def cleaned_up_subject |
380 |
subject = email.subject.to_s |
|
380 |
part = email.text_part || email.html_part || email |
|
381 |
subject = email.subject |
|
382 |
subject = Redmine::CodesetUtil.to_utf8(subject, part.charset) |
|
381 | 383 |
subject.strip[0,255] |
382 | 384 |
end |