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

Feature: Search for multiple HEADER fields (AND) #257

Open
mfodor opened this issue Sep 21, 2021 · 0 comments
Open

Feature: Search for multiple HEADER fields (AND) #257

mfodor opened this issue Sep 21, 2021 · 0 comments

Comments

@mfodor
Copy link

mfodor commented Sep 21, 2021

Currently, one HEADER search criteria can be passed to the search command only. To be more precise: can add more but only in OR or NOT fields so there is no option to add multiple with AND relation.

I could workaround it with passing search object like the following:

{
  header: ['subject', 'To search for this'],
  Header: ['from', 'from@address'],
  hEader: ['to', 'to@address']
}

But this is not a nice solution. I've tried to pass header: ['subject', 'To search for this', 'HEADER', 'from', 'from@address'] but that's results in invalid command since 'HEADER' will be added as String not as atom.

I know about #212 but I wanted to report this. Who knows, maybe I'll have time to create a PR as well.

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

No branches or pull requests

1 participant