Created
May 14, 2019 20:10
-
-
Save aleksaa01/ccd371869f3a3c7b3e47822d5d78ccdf to your computer and use it in GitHub Desktop.
MailParser without mail boundary
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from mailparser.mailparser import MailParser | |
class NoBoundaryMailParser(MailParser): | |
@property | |
def body(self): | |
return self.text_plain, self.text_html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment