Export e-mail out of Outlook....
There is "a way" -- this may not be suitable for your purposes
but it is free and it does get you the "entire message" as it would
be sent or, was in fact, received through an SMTP server:
Select MORE than one message (there is a way to do one message
but the simplest method is to select the one plus any other and
remove the extra in the next step.)
Ctrl-F to FORWARD the batch of messages to an SMTP server
that uses the format you wish (maildir, mbox, flat files).
Exim (CygWin) is what I use but Mercury will do if you just
want files or later POP/IMAP access to the files.
I have setup a "catch user" for this purpose since I use this
method to forward Spam and misclassified Ham back to my
email server.
When you select more than one file and forward you get a
multi-part MIME message with all of the selected emails
as separate ATTACHMENTS.
You will need to bust this mail on the server if you wish to
deal with each one separately:
The following (very small) Perl program will split the message
into a subdirectory (..\tmp is hardcoded here:
#!/usr/bin/perl -w
use MIME::Parser;
my $parser = new MIME::Parser; # Create parser
$parser->output_dir("./tmp"); # Tell it where to output
$parser->extract_nested_messages(0); # Extract messages whole?
$entity = $parser->parse(\*STDIN); # Parse an input filehandle
print "Entity: $entity\n\n" if $entity;
################# That's all ###################
Perl is on most Unix type systems and free for Windows at:
http://www.ActiveState.com
--
Herb Martin, MCSE, MVP
Accelerated MCSE
http://www.LearnQuick.Com
[phone number on web site]
|