Skip to content

How to send multiple search parameters? #433

Answered by shoaib30
Laanan asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry I missed the main part of the question

To pass multiple search criteria with an OR condition you can do the following
connection.search(['OR', 'UNSEEN', 'SEEN'])

this link helped me get familiar with the search options :
IMAP Search Criteria gist

or if you prefer you can refer to the RFC Document

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Laanan
Comment options

@shoaib30
Comment options

Answer selected by Laanan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants