Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Email::Store::HTML 0.301

    Download button

    No screenshots available
    Downloads: 297  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.0/5)
    3 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Simon Wistow | More programs
    Perl Artistic License / FREE
    October 18th, 2007, 22:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Email::Store::HTML description

    Contains various HTML related functions for Email::Store::Mail

    Email::Store::HTML contains various HTML related functions for Email::Store::Mail.

    SYNOPSIS

    my $mail = Email::Store::Mail->retrieve( $msgid );
    exit unless $mail->html;

    for ($mail->html) {
    print $_->raw; # prints out the raw HTML version of the attachment
    print $_->scrubbed; # prints out a scrubbed version of the mail which should be safe
    print $_->as_text; # prints out a version of the HTML converted to plain text
    }


    METHODS

    on_store < Email::Store::Mail >

    This finds every HTML attachment in the mail and performs various operations on them before storing them as a new Email::Store::HTML object.

    raw

    The raw HTML, exactly as we found it.

    scrubbed

    A scrubbed version of the HTML with things like javascript removed.

    as_text

    The HTML run through HTML::FormatText::WithLinks. Links are placed after the anchor word(a) in square brackets so that

    < a href="http://thegestalt.org" >HOME!< /a >

    becomes

    HOME! [ http://thegestalt.org ]

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    HTML functions | mail storage | Perl module | HTML | functions | mail

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM