# File lib/action_mailer/vendor/tmail/attachments.rb, line 13
    def attachment?(part)
      (part['content-disposition'] && part['content-disposition'].disposition == "attachment") ||
      part.header['content-type'].main_type != "text"
    end