Enhancement: fetch mails in bulk (#5249)

Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com>
This commit is contained in:
Thomas Falkenberg
2024-01-05 19:43:22 +01:00
committed by GitHub
parent 8da2535a65
commit 355a434a07
2 changed files with 2 additions and 1 deletions

View File

@@ -118,7 +118,7 @@ class BogusMailBox(AbstractContextManager):
if username != self.USERNAME or access_token != self.ACCESS_TOKEN:
raise MailboxLoginError("BAD", "OK")
def fetch(self, criteria, mark_seen, charset=""):
def fetch(self, criteria, mark_seen, charset="", bulk=True):
msg = self.messages
criteria = str(criteria).strip("()").split(" ")