示例#1
0
文件: message.py 项目: a3nm/alot
    def accumulate_body(self):
        """
        returns bodystring extracted from this mail
        """
        #TODO: don't hardcode which part is considered body but allow toggle
        #      commands and a config default setting

        return extract_body(self.get_email())
示例#2
0
文件: message.py 项目: a3nm/alot
 def get_text_content(self):
     return extract_body(self.get_email(), types=['text/plain'])
示例#3
0
 def accumulate_body(self):
     """
     returns bodystring extracted from this mail
     """
     #TODO: allow toggle commands to decide which part is considered body
     return extract_body(self.get_email())