NAME
Html::FromMail::Default::HTMLifiers - convert data type to HTML
SYNOPSIS
DESCRIPTION
FUNCTIONS
- htmlifyHtml($page, $message, $part, \%options)
-
THIS FUNCTION IS NOT PRESENT, for the following reason. What should happen here? The message part/multipart contains an html message, but that interferes with the HTML of the template.
One solution could be to strip the header, and the html and body tags. However, what about style sheet info? That may very well interfere with the template's style sheet. And consider erroneous HTML?
So, until some nice solution is presented, HTML will not be inlined. As alternative, your production software may differentiate between html messages and non-html messages. Produce the page according to the template, and then simply link to the produced HTML for the user. However, I don't know whether that is smart....
- htmlifyText($page, $message, $part, \%options)
-
Convert plain text into HTML using HTML::FromText. Configuration can be supplied as show in the example. The defaults are set to mode
prewithurls,email,bold, andunderline.» example: configuring text conversion
my $f = HTML::FromMail->new( settings => { message => { disposition => \&my_disposer }, HTML::FromText => { block_code => 0 }, }, );
SEE ALSO
This module is part of HTML-FromMail version 3.01, built on November 21, 2025. Website: http://perl.overmeer.net/CPAN/
LICENSE
For contributors see file ChangeLog.
This software is copyright (c) 2003-2025 by Mark Overmeer.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.