in reply to Re^2: Extracting TEXT from email
in thread Extracting TEXT from email

How about you go study mimeexplode?

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re^4: Extracting TEXT from email
by ady (Deacon) on Apr 30, 2005 at 12:03 UTC
    I did try to run mimeexplode on a msg file, and it placed the body of the msg in a .txt file in a subdirectory.

    But this "exploded" file contains the same amount of binary & HTML "junk", so it does not spare me the job of post-filtering to get at the payload TEXT.
    -- allan
      But this "exploded" file contains the same amount of binary & HTML "junk", so it does not spare me the job of post-filtering to get at the payload TEXT.
      That sounds hinky. Can you post a sample file?

      MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
      I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
      ** The third rule of perl club is a statement of fact: pod is sexy.