Infile ------------------------------------------------------------ From : Andrew To : Andrew This is some sample text From : Andrew Mime Attachment To : Andrew This is some sample text [Attachment decoded as abcd.pdf] From : Andrew To : Andrew This is some sample text ------------------------------------------------------------ Outfile ------------------------------------------------------------ From : Andrew To : Andrew This is some sample text From : Andrew Plain Text To : Andrew This is some sample text [Attachment decoded as abcd.pdf] From : Andrew To : Andrew This is some sample text ------------------------------------------------------------