mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05: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:
		| @@ -219,7 +219,7 @@ class MailFetcher(Loggable): | |||||||
|         if not login[0] == "OK": |         if not login[0] == "OK": | ||||||
|             raise MailFetcherError("Can't log into mail: {}".format(login[1])) |             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": |         if not inbox[0] == "OK": | ||||||
|             raise MailFetcherError("Can't find the inbox: {}".format(inbox[1])) |             raise MailFetcherError("Can't find the inbox: {}".format(inbox[1])) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 David Martin
					David Martin