imap_search negation
Posted: Fri Mar 14, 2008 6:24 am
HI,
I am trying to write a search filter for my mailbox. Basically I am getting ill formed emails that have not from, to or subject headers.
I can search using the following:
but what I'd like to do is negate the results, such as:
Any ideas. If not I will have to read all id's in then all matcheing results and diff the two arrays to get my solution
I am trying to write a search filter for my mailbox. Basically I am getting ill formed emails that have not from, to or subject headers.
I can search using the following:
Code: Select all
FROM @ TO @but what I'd like to do is negate the results, such as:
Code: Select all
NOT FROM @ TO @