예제 #1
0
 def html(self):
     """
     Returns the message body matching content type 'text/html'.
     """
     return utils.get_body_from_message(
         self.get_email_object(), 'text', 'html'
     ).replace('\n', '').strip()