Basil A. Daoust <> wrote:
> 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?

That can happen for a number of reasons. It doesn't exist, a typo, or
perhaps its part of a larger package. According to
http://search.cpan.org/search?query=MIME%3A%3AParser&mode=all it is part
of MIME-tools, which does appear to be in several PPM archives.

HTH

-- 
Brian Raven 

=========================================
Atos Euronext Market Solutions Disclaimer
=========================================

The information contained in this e-mail is confidential and solely for the 
intended addressee(s). Unauthorised reproduction, disclosure, modification, 
and/or distribution of this email may be unlawful.
If you have received this email in error, please notify the sender immediately 
and delete it from your system. The views expressed in this message do not 
necessarily reflect those of Atos Euronext Market Solutions.

Atos Euronext Market Solutions Limited - Registered in England & Wales with 
registration no. 3962327.  Registered office address at 25 Bank Street London 
E14 5NQ United Kingdom. 
Atos Euronext Market Solutions SAS - Registered in France with registration no. 
425 100 294.  Registered office address at 6/8 Boulevard Haussmann 75009 Paris 
France.

L'information contenue dans cet e-mail est confidentielle et uniquement 
destinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. 
Toute copie, publication ou diffusion de cet email est interdite. Si cet e-mail 
vous parvient par erreur, nous vous prions de bien vouloir prevenir 
l'expediteur immediatement et d'effacer le e-mail et annexes jointes de votre 
systeme. Le contenu de ce message electronique ne represente pas necessairement 
la position ou le point de vue d'Atos Euronext Market Solutions.
Atos Euronext Market Solutions Limited Société de droit anglais, enregistrée au 
Royaume Uni sous le numéro 3962327, dont le siège social se situe 25 Bank 
Street E14 5NQ Londres Royaume Uni.

Atos Euronext Market Solutions SAS, société par actions simplifiée, enregistré 
au registre dui commerce et des sociétés sous le numéro 425 100 294 RCS Paris 
et dont le siège social se situe 6/8 Boulevard Haussmann 75009 Paris France.
=========================================

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to