Bill Luebkert wrote:
> Basil A. Daoust wrote:
>> Now I have to believe that some Perl modules must exist that can 
>> already parse a email file.
>> I looked at email::simple but it didn't really work the way I hoped.  
>> It treated the email file as a single email.
>> I found a example that looked very promising but it requires 
>> Email::Folder and that doesn't seem to be available for ActivePerl 5.10?
>> I did find a version on cpan but being a windows user running a make 
>> has never worked for me.
>>
>> What I want to do is open a mail file, that is in plain text,
>> Split it into individual emails.
>> Then split the text/plain if available or the text/html if plain/text 
>> not available, out of a multi-part mime messages.
>> Discarding the stuff that would be non-visible in the normal email.
>> Now I can do all that using brute force but I kind of thought that 
>> something must exist.
>>
>> I would like any modules suggested be available via PPM, thanks.
>
> Try MIME::Parser - if it won't handle the file, just split the file at
> each '^File - <date>' marker you find and feed the individual msgs to the
> parser.
>
I don't see MIME::Parser in PPM? 


_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to