mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-10 06:48:19 +02:00
If no message was returned; continue.
This commit is contained in:
parent
c60b32aca5
commit
4037aac5e4
1 changed files with 2 additions and 0 deletions
|
|
@ -101,6 +101,8 @@ class ImapTransport(EmailTransport):
|
||||||
for uid in message_ids:
|
for uid in message_ids:
|
||||||
try:
|
try:
|
||||||
typ, msg_contents = self.server.uid('fetch', uid, '(RFC822)')
|
typ, msg_contents = self.server.uid('fetch', uid, '(RFC822)')
|
||||||
|
if not msg_contents:
|
||||||
|
continue
|
||||||
message = self.get_email_from_bytes(msg_contents[0][1])
|
message = self.get_email_from_bytes(msg_contents[0][1])
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue