Skip to content

Instantly share code, notes, and snippets.

@aleksaa01
Created May 14, 2019 20:10
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aleksaa01/ccd371869f3a3c7b3e47822d5d78ccdf to your computer and use it in GitHub Desktop.
Save aleksaa01/ccd371869f3a3c7b3e47822d5d78ccdf to your computer and use it in GitHub Desktop.
MailParser without mail boundary
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