Skip to content

Conversation

Setogit
Copy link

@Setogit Setogit commented Jan 21, 2015

With this change, the following IMAP filter now works as follows;
Unseen AND size<500MB AND (FROM : [email protected] OR [email protected] OR [email protected] OR 'Tetsuo Seto')

var FIVE_HUNDRED_MB = (50_1024_1024).toString()
searchFilter: ['UNSEEN', ['SMALLER',FIVE_HUNDRED_MB], 'OR',
['OR', ['FROM','[email protected]'],['FROM','[email protected]']],
['OR', ['FROM','[email protected]'],['FROM','Tetsuo Seto']]
],

@mscdex
Copy link
Owner

mscdex commented Jan 21, 2015

Please add tests and possibly adjust the documentation to reflect this new behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants