Use Mailgun's flanker library to process the email sources.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-04-10 01:16:53 -04:00
parent 3909481205
commit 63a77d0235
8 changed files with 244 additions and 120 deletions
-8
View File
@@ -29,14 +29,6 @@ class SourceUploadedFile(File):
self.extra_data = extra_data
class Attachment(File):
def __init__(self, part, name):
self.name = name
self.file = PseudoFile(
BytesIO(part.get_payload(decode=True)), name=name
)
@python_2_unicode_compatible
class StagingFile(object):
"""