https://github.com/mikel/mail
Ruby
A Really Ruby Mail Library
Mail::Retriever#all
Get all emails. Possible options: order: order of emails returned. Possible values are :asc or :desc. Default value is :asc.
Edit
git clone [email protected]:mikel/mail.git
cd mail
open lib/mail/network/retriever_methods/base.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Mail--Retriever-all-for-pr
# Commit to gitgit add lib/mail/network/retriever_methods/base.rbgit commit -m "better docs for Mail::Retriever#all"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Mail--Retriever-all-for-pr
hub pull-request
# Celebrate!