NAME

Email::Outlook::Message.pm - Read Outlook .msg files

SYNOPSIS

use Email::Outlook::Message;

my $msg = new Email::Outlook::Message $filename, $verbose;
my $mime = $msg->to_email_mime;
$mime->as_string;

DESCRIPTION

Parses .msg message files as produced by Microsoft Outlook.

METHODS

new($msg, $verbose)

Parse the file pointed at by $msg. Set $verbose to a true value to print information about skipped parts of the .msg file on STDERR.

to_email_mime

Output result as an Email::MIME object.

BUGS

Not all data that is in the .msg file is converted. There are some parts whose meaning escapes me, although more documentation on MIME properties is available these days. Other parts do not make sense outside of Outlook and Exchange.

GPG signed mail is not processed correctly. Neither are attachments of type 'appledoublefile'.

It would be nice if we could write .MSG files too, but that will require quite a big rewrite.

AUTHOR

Matijs van Zuijlen, matijs@matijs.net

COPYRIGHT AND LICENSE

Copyright 2002--2020 by Matijs van Zuijlen

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.