[ANN] ruby-msg-1.2.17 (converter for outlook msg files)

C

Charles Lowe

ruby-msg is still, AFAIK, the best option for converting .msg files that
a) doesn't rely on you running outlook on windows to do the conversion;
and
b) is free software

Simply:
1. download the gem
(http://ruby-msg.googlecode.com/files/ruby-msg-1.2.17.gem)
2. gem install ruby-msg-1.2.17.gem
3. convert some msg files. there is now a mbox mode - (msgtool -m *.msg

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\' <[email protected]>'>]
msg.attachments
# => [#<Attachment filename='blah1.tif'>, #<Attachment
filename='blah2.tif'>]
msg.properties
# => #<Properties ... normalized_subject='Testing' ...
# creation_time=#<DateTime: 2454042.45074714,0,2299161> ...>
 
Joined
Dec 10, 2024
Messages
14
Reaction score
0
For developers that need to work with Outlook MSG files in Ruby, [ANN] ruby-msg-1.2.17 appears to be a helpful solution. Email content, attachments, headers, and other message attributes can be programmatically extracted with its assistance. If you are searching for a simple and user-friendly solution to convert your MSG files, then I highly recommend GainTools MSG Converter. This exceptional piece of software makes the process of converting your emails from MSG to such formats as PST, PDF, EML, MBOX or EMLX a simple matter for anyone without any coding or programming skills. This program also includes the ability to perform bulk conversions, keeps all associated attachments & metadata intact and maintains original email formatting while doing so! It also includes a free trial version, which allows customers to test it before buying the full version.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,417
Messages
2,571,575
Members
48,797
Latest member
shadowoftheunknown

Latest Threads

Top