Looking at it now. I also saw this thread
about Mail::Message. This is not the first time I have been here, but I am a little surprised how difficult mail handling still is. Many of the modules available on CPAN don't seem to be in a fully developed state (at least the ones I have looked at). It seems the Internet has been around long enought that we would have this part down by now ;) Looking at the reviews on CPAN for Mail::Message and MIME::Parser many are complaining about the overhead of these modules and more than once I have seen people saying they have just resorted to writing their own parser.