[dev] Emails in HTML format
Sébastien Prud'homme
sebastien.prudhomme at gmail.com
Wed Aug 22 18:05:32 GMT 2007
Hi,
A lot of our users are using email in HTML format. Unfortunately the
OTRS html2txt feature doesn't transform HTML entities.
My question: with not use the HTML::Transform perl module to do it (or
HTML::FormatText::WithLinks)?
I've done a small modification on my OTRS test system and it works
fine. I've just added a single line of perl code to do this in
Kernel/System/EmailParser.pm and removed all the things that were done
by the OTRS perl code:
$Self->{MessageBody} =
HTML::FormatText->format_string($Self->{MessageBody}, leftmargin => 0,
rightmargin => $Self->{ConfigObject}->Get('Ticket::Frontend::TextAreaEmail'));
Regards
More information about the dev
mailing list