mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-22 16:03:19 +01:00
Merge pull request #604 from Kirembu/master
Fix imaplib 'IMAP' module reference to 'IMAP4'
This commit is contained in:
commit
8a7662bf8c
@ -216,7 +216,7 @@ def process_queue(q, logger):
|
||||
q.email_box_pass or
|
||||
settings.QUEUE_EMAIL_BOX_PASSWORD)
|
||||
server.select(q.email_box_imap_folder)
|
||||
except imaplib.IMAP.abort:
|
||||
except imaplib.IMAP4.abort:
|
||||
logger.error("IMAP login failed. Check that the server is accessible and that the username and password are correct.")
|
||||
server.logout()
|
||||
sys.exit()
|
||||
|
Loading…
Reference in New Issue
Block a user