mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 17:17:26 +01:00
Connect to configured inbox instead of hardcoded one.
Now the retrieving of emails from the inbox set in the config file works as expected.
This commit is contained in:
parent
70dceb3b37
commit
c647daace2
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ class MailFetcher(Loggable):
|
|||
if not login[0] == "OK":
|
||||
raise MailFetcherError("Can't log into mail: {}".format(login[1]))
|
||||
|
||||
inbox = self._connection.select("INBOX")
|
||||
inbox = self._connection.select(self._inbox)
|
||||
if not inbox[0] == "OK":
|
||||
raise MailFetcherError("Can't find the inbox: {}".format(inbox[1]))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue