mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-10 06:48:19 +02:00
clear code
This commit is contained in:
parent
b02fd73d1c
commit
8f944190ad
5 changed files with 26 additions and 93 deletions
|
|
@ -9,3 +9,8 @@ class EmailTransport:
|
|||
message = email.message_from_bytes(contents)
|
||||
|
||||
return message
|
||||
|
||||
def get_email_from_string(self, contents):
|
||||
message = email.message_from_string(contents)
|
||||
|
||||
return message
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue