mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-10 06:48:19 +02:00
adds formatting updates and testing updates
This commit is contained in:
parent
83ee3bc4be
commit
ea17f6df0b
7 changed files with 35 additions and 19 deletions
|
|
@ -1,7 +1,5 @@
|
|||
import imaplib
|
||||
import logging
|
||||
from os.path import exists
|
||||
import json
|
||||
from django.conf import settings
|
||||
|
||||
from .base import EmailTransport, MessageParseError
|
||||
|
|
@ -108,7 +106,6 @@ class ImapTransport(EmailTransport):
|
|||
# If the archive folder does not exist, create it
|
||||
self.server.create(self.archive)
|
||||
|
||||
|
||||
for uid in message_ids:
|
||||
try:
|
||||
typ, msg_contents = self.server.uid("fetch", uid, "(RFC822)")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue