mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-10 06:48:19 +02:00
wrong folder stage
This commit is contained in:
parent
a52f20dabe
commit
50ee86d1d9
69 changed files with 4191 additions and 85 deletions
11
build/lib/django_mailbox/transports/base.py
Normal file
11
build/lib/django_mailbox/transports/base.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import email
|
||||
|
||||
# Do *not* remove this, we need to use this in subclasses of EmailTransport
|
||||
from email.errors import MessageParseError # noqa: F401
|
||||
|
||||
|
||||
class EmailTransport:
|
||||
def get_email_from_bytes(self, contents):
|
||||
message = email.message_from_bytes(contents)
|
||||
|
||||
return message
|
||||
Loading…
Add table
Add a link
Reference in a new issue