Class | TMail::Attachment |
In: |
lib/tmail/quoting.rb
lib/tmail/attachments.rb |
Parent: | Object |
content_type | [RW] | |
original_filename | [RW] |
Only unquote if quoted
# File lib/tmail/quoting.rb, line 68 def original_filename(to_charset = 'utf-8') if quoted?(quoted_filename) Unquoter.unquote_and_convert_to(quoted_filename, to_charset).chomp else quoted_filename end end