in reply to Re^2: Reading msg file
in thread Reading msg file
..The module Email::Outlook::Message can be used if I am trying to read mail in the outlook. But the mails will be saved in a folder..
Email::Outlook::Message, also parse mail when you are not reading from your Outlook mail directly. i.e with your mails saved in a folder on your local drive.
E.g:
NOTE: I didn't link the Email::Outlook::Message, I only outlined it here. Others in this thread had it linked already.#!/usr/bin/perl -Wl use strict; use Email::Outlook::Message; for my $filename ( glob("$ARGV[0]*") ) { ## tell the filename reading print 'Filename: ', $filename; my $msg = new Email::Outlook::Message $filename; my $mime = $msg->to_email_mime; print $mime->as_string; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Reading msg file
by monkee (Initiate) on Oct 20, 2019 at 21:48 UTC | |
by Corion (Patriarch) on Oct 21, 2019 at 07:18 UTC | |
by monkee (Initiate) on Oct 21, 2019 at 18:22 UTC | |
by Corion (Patriarch) on Oct 21, 2019 at 18:50 UTC | |
by monkee (Initiate) on Oct 21, 2019 at 19:27 UTC | |
|