Find by ... #437

Closed
AlexKlim opened this Issue Oct 4, 2012 · 1 comment

Comments

Projects
None yet
3 participants
@AlexKlim

AlexKlim commented Oct 4, 2012

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

@abotalov

This comment has been minimized.

Show comment
Hide comment
@abotalov

abotalov Nov 19, 2012

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.

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 Jan 26, 2013

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