Skip to content

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

Description

@mfodor

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions