Accessor for text_part
1644 1645 1646 1647 1648 1649 1650
# File 'lib/mail/message.rb', line 1644 def text_part(&block) if block_given? self.text_part = Mail::Part.new(:content_type => 'text/plain', &block) else @text_part || find_first_mime_type('text/plain') end end