stillcool has asked for the wisdom of the Perl Monks concerning the following question:

if my email got html code how am i goin to exclude the html tag... the example mail with html tag

<title>Cable companies cracking down on Wi-Fi</title>

i only wan the contain after the html tag are remove so it would be

Cable companies cracking down on Wi-Fi

how to build a naive bayes model with 1 mail and 1

spam and can test a new mail whether it is mail or spam

Replies are listed 'Best First'.
Re: removing of html tag from email
by Anonymous Monk on Apr 28, 2009 at 10:03 UTC

      i cant use the module...when i use HTML::StripScripts

      it show that - cant locate HTML/StripScripts.pm @INC

        And did you installed it somehow? It is not present in core Perl, so it must be added to your system.
Re: removing of html tag from email
by leocharre (Priest) on Apr 28, 2009 at 14:50 UTC
    Get a cli to converting html to plain text, see which method give you the desired output. html2plain html2txt

      tq for the guidance, the code word alone but when it mix wit my code it not working...

      maybe i need to modify abit more