# File lib/mail/message.rb, line 1760 def find_first_mime_type(mt) all_parts.detect { |p| p.mime_type == mt } end