Answer the question
In order to leave comments, you need to log in
HOW to make a selection of letters from a mailbox for a certain date?
Here is a query where the dates are explicitly specified, it works fine:
result, data = mail.search(None, '(SINCE "01-NOV-2019" BEFORE "20-DEC-2019")')
result, data = mail.search(None, '(SINCE {since} BEFORE {till})'.format(since=since, till=till))
since = self.Since.text().replace('.', '-')
till = self.Till.text().replace('.', '-')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question