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

**URL:** <https://www.ruby-forum.com/t/ann-ruby-msg-1-3-1-outlook-msg-lib-and-ruby-ole-1-2-1/112682>\
**Category:** Ruby\
**Created:** [August 22, 2007, 3:13am UTC](https://www.ruby-forum.com/t/ann-ruby-msg-1-3-1-outlook-msg-lib-and-ruby-ole-1-2-1/112682 "2007-08-22T03:13:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![calande](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/edb3f5/32.png) [@calande](https://www.ruby-forum.com/u/calande)\
**Post date:** [August 22, 2007, 3:13am UTC](https://www.ruby-forum.com/t/ann-ruby-msg-1-3-1-outlook-msg-lib-and-ruby-ole-1-2-1/112682/1 "2007-08-22T03:13:10Z")

</div>

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.](http://code.google.com/p/ruby-msg/), and at the wiki  
[Google Code Archive - Long-term storage for Google Code Project Hosting.](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' [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)’\>]

msg.attachments

# =\> [#, #\<Attachment

filename=‘blah2.tif’\>]  
msg.properties

# =\> #\<Properties … normalized\_subject=‘Testing’ …

# creation\_time=#\<DateTime: 2454042.45074714,0,2299161\> …\>
