Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
[ANN] ruby-msg-1.2.17 (converter for outlook msg files
Charles L.
5/13/2007 6:56:00 AM
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-...
)
2. gem install ruby-msg-1.2.17.gem
3. convert some msg files. there is now a mbox mode - (msgtool -m *.msg
> mbox)
Details at
http://code.google.com/p...
, and at the wiki
http://code.google.com/p...
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-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
[ANN] ruby-msg-1.2.17 (converter for outlook msg files
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password