http://www.perlmonks.org?node_id=466072


in reply to Reading an Outlook PST FIle

I would suggest this ready rolled, free, with source code, (non Perl) solution: Personal Message Store (PST) Export Utility 1.0. You can export a PST of just the junk mail folder from outlook with File|Export|etc beforehand to separate out the junk.

This gives you the original full headers (probably), newline separated ie in standard *nix format.

cheers

tachyon