jonhoo / rust-imap

IMAP client library for Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to search emails of a month

codelover2k opened this issue · comments

Is it possible to search for all emails of a month?
lets say I want all emails of the the month 5, and year 2022, how could I do that with rust-imap?

Sure. You can do whatever the IMAP spec lets you do, which includes things like using the SEARCH command to query for old emails.