Skip to content Skip to sidebar Skip to footer

IMAP Search For Email Address In The From Field

I am trying to search and filter my imap mails using python's imaplib. I am running into a quite strange problem with the search command, searching for email addresses in the FROM

Solution 1:

use this as your filter:

(HEADER FROM "shrikantsharat.k@gmail.com")

Post a Comment for "IMAP Search For Email Address In The From Field"