Skip to content

Loading…

Find by ... #437

Closed
AlexKlim opened this Issue · 1 comment

3 participants

@AlexKlim

Hi, there a way to find by smth (subject, from, to) ?

@abotalov

Yes, of course.

Look at Mail.find. It just invokes Mail::Retriever.find. Imap mail retriever has keys parameter that is passed to imap.search so can search by anything supported by Ruby's IMAP library. Pop3 mail retriever doesn't have such parameter. I think this feature isn't well documented for this reason.

@jeremy jeremy closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.