Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Extract PDF attachments from MSG file

Bash script to extract any PDF attachment from an MSG email.

The script follow this steps:

  1. Convert MSG to EML format using MSGConvert utility
  2. Extract any attachments from EML file using ripMIME utility
  3. Check PDF for corruption using Poppler utility

Setup on Debian/Ubuntu

apt-get install libemail-outlook-message-perl
apt-get install ripmime
apt-get install poppler-utils

Usage

./msg2pdf.sh