Set readonly of selected Inbox to False (#3258)
Mails are not marked as SEEN, when the readonly parameter is True. That's a problem since tickets are being refreshed all few minutes, and, if you have more than 50 unread mails in your inbox, most of them will never be imported to Frappe / ERPNext.
This commit is contained in:
parent
4e80f58f63
commit
99f6a34b18
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ class EmailServer:
|
|||
email_list = []
|
||||
self.check_imap_uidvalidity()
|
||||
|
||||
self.imap.select("Inbox", readonly=True)
|
||||
self.imap.select("Inbox", readonly=False)
|
||||
response, message = self.imap.uid('search', None, self.settings.email_sync_rule)
|
||||
if message[0]:
|
||||
email_list = message[0].split()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue