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

Discussion in 'Ruby' started by Charles Lowe, Aug 22, 2007.

  1. Charles Lowe

    Charles Lowe Guest

    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 http://code.google.com/p/ruby-msg/, 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\' <>'>]
    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/.
    Charles Lowe, Aug 22, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Patrick.O.Ige

    Ole ole

    Patrick.O.Ige, Jul 16, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    468
    Patrick.O.Ige
    Jul 16, 2006
  2. Drew Pihera
    Replies:
    0
    Views:
    614
    Drew Pihera
    Feb 4, 2004
  3. Charles Lowe
    Replies:
    0
    Views:
    189
    Charles Lowe
    May 13, 2007
  4. Lance Hoffmeyer
    Replies:
    0
    Views:
    223
    Lance Hoffmeyer
    Nov 17, 2003
Loading...

Share This Page