The new version of ruby-msg has been released!
A bunch of bugs have been closed, and a lot more MAPI properties are now
converted to their MIME equivalents (eg importance, priority, etc).
This release also splits out the OLE storage component into a separate
library: ruby-ole. This is a complete, stable lib for read/write access
to OLE documents.
–
Simply:
- gem install ruby-msg (this will also install ruby-ole)
- convert some msg files. there is now a mbox mode - (msgtool -m *.msg
mbox)
Details at Google Code Archive - Long-term storage for Google Code Project Hosting., and at the wiki
Google Code Archive - Long-term storage for Google Code Project Hosting..
Sample code using the library:
require ‘msg’
msg = Msg.open filename
access to the 3 main data stores
msg.recipients
=> [#<Recipient:‘'Marley, Bob' [email protected]’>]
msg.attachments
=> [#, #<Attachment
filename=‘blah2.tif’>]
msg.properties