Email::Store::HTMLEmail::Store::HTML contains various HTML related functions for Email::Store::Mail. | |
Download |
Email::Store::HTML Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Simon Wistow
- Publisher web site:
- http://search.cpan.org/~simonw/
Email::Store::HTML Tags
Email::Store::HTML Description
Email::Store::HTML 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 }METHODSon_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.rawThe raw HTML, exactly as we found it.scrubbedA scrubbed version of the HTML with things like javascript removed.as_textThe 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! Requirements: · Perl
Email::Store::HTML Related Software