Good day everyone, I'm working on a personal python small project here, trying to search messages with messages-id, but encounter error as below :
imaplib.error: SEARCH command error: BAD [b'Could not parse command']
this is a sample of the code :
line = '<ABCDefghIJKlmnOpqRS@mail.gmail.com>'
typ, data = mail.search(None, '(HEADER Message-ID "%s")' % line)