Email:...Message(3pm)

πŸ’Œ Email:...Message(3pm) πŸ’Œ

okay bestie, so this is a page from the User Contributed Perl Documentation, filed under Email:...Message(3pm). pull up a chair, we're reading Outlook files. yes, those Outlook files. πŸ’…


✨ 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 πŸ’–

It parses .msg message files as produced by Microsoft Outlook. that's the whole vibe. no cap. ✨


πŸŽ€ METHODS πŸŽ€

  • new($msg, $verbose) β€” parses the file that $msg is pointing at. if you set $verbose to a true value, it will print info about the parts of the .msg file it skipped, straight to STDERR. so like, the receipts of what got left out. 🫢
  • to_email_mime β€” outputs the result as an Email::MIME object. that's the glow-up, bestie. πŸ‘‘

πŸ’€ BUGS πŸ’€

ngl, not everything in the .msg file makes it through the conversion. some parts are just... a mystery, their meaning escapes me, even though there's more documentation on MIME properties available these days. and then other parts genuinely do not make sense outside of Outlook and Exchange. it's giving "proprietary lore." πŸ™ˆ

GPG signed mail is not processed correctly. neither are attachments of type 'appledoublefile'. so watch out for those. 😭

also, it would be nice if we could write .MSG files too, but that would require quite a big rewrite. manifesting it tho. ✨


🌈 AUTHOR 🌈

Matijs van Zuijlen, "matijs@matijs.net"


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.


and that's the whole page, bestie!! πŸŽ€ this was perl v5.32.1, dated 2022-01-28, from the Email:...Message(3pm) manual β€” mwah, go read some .msg files, you absolute icon πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from