Answer the question
In order to leave comments, you need to log in
Imaplib, How to set a condition for searching letters by date?
From the input form (pyqt) I get the date
def buttonclicked(self):
since = self.Since.text()
result, data = mail.search(None, '(SINCE {since} )'.format(since=since))
b'[CANNOT] Unsupported search criterion: SINCE 10.05.2019
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