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:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user