Esempio n. 1
0
File: message.py Progetto: 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())
Esempio n. 2
0
File: message.py Progetto: a3nm/alot
 def get_text_content(self):
     return extract_body(self.get_email(), types=['text/plain'])
Esempio n. 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())