[ANN] ruby-msg-1.3.1 (outlook msg lib) and ruby-ole-1.2.1

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:
1. gem install ruby-msg (this will also install ruby-ole)
2. 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
http://code.google.com/p/ruby-msg/wiki/Home\.

Sample code using the library:

  require 'msg'

  msg = Msg.open filename

  # access to the 3 main data stores
  msg.recipients
  # => [#<Recipient:'\'Marley, Bob\' <bob.marley@gmail.com>'>]
  msg.attachments
  # => [#<Attachment filename='blah1.tif'>, #<Attachment
filename='blah2.tif'>]
  msg.properties
  # => #<Properties ... normalized_subject='Testing' ...
  # creation_time=#<DateTime: 2454042.45074714,0,2299161> ...>
--
Posted via http://www.ruby-forum.com/\.