0.0
No commit activity in last 3 years
No release in over 3 years
Searches the email headers from the Offine Mail Helper (OMAH) database generated by the omah-plugin-sqlite.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.8, >= 1.8.20
>= 0.3.0, ~> 0.3
 Project Readme

Introducing the Omah_search gem

Example

os = OmahSearch.new '/home/james/email/headers.db'
result = os.search('weather')
puts result

Output

| date       | from                        | to                          | subject                                                                                                        |
|:-----------|:----------------------------|:----------------------------|:---------------------------------------------------------------------------------------------------------------|
| 2016-05-11 | xxxxx@xxxjohnlewis.com | xxxxx@jamesrobertson.eu    | Whatever the weather                                                                                           |
| 2016-04-27 | info@twitter.com            | xxxxxx@gmail.com | littleBits tweeted: Use #arduino to teach students how to monitor current and forecasted weather data #MakerEd |
| 2016-03-25 | xxxx@raspberrypi.org      | xxxx@jamesrobertson.eu     | Raspberry Pi Weekly Issue #145 - Weather

Notes:

  • The results are sorted in reverse chronological order
  • The results are limited to a maximum of 10 records
  • The table is in Markdown format which can conveniently be rendered to HTML.

Resources

omah_search omah search email sqlite