Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make OR filter work #444

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

make OR filter work #444

wants to merge 2 commits into from

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 : tedj7890@gmail.com OR abc@example.com OR xyz@public.com OR 'Tetsuo Seto')

var FIVE_HUNDRED_MB = (50_1024_1024).toString()
searchFilter: ['UNSEEN', ['SMALLER',FIVE_HUNDRED_MB], 'OR',
['OR', ['FROM','tedj7890@gmail.com'],['FROM','abc@example.com']],
['OR', ['FROM','xyz@public.com'],['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