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