Imap_ssl.search one letter name

resp_code, mails = imap_ssl.search(None, ‘(FROM “a”)’)

I want to search emails from a specific one letter named user, “a”.
Example:

<a@xxxxx.com>
<a@xxxxxx.com>

Problem is, search results cause all users with an “a” as part of there name to be returned.
Example:

jane@xxxxx.com
aaron@xxxxxx.com

Any way to isolate the search to one letter name?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.