[rt-users] HTML -> text conversion

Alex Vandiver alexmv at bestpractical.com
Mon Mar 30 13:05:07 EDT 2015


On Mon, 30 Mar 2015 13:18:03 +0300 "Vlad V. Shpolyanskiy"
<vlad.shpolyanskiy at gmail.com> wrote:
> But while adding to RT_siteconfig string
> Set($HTMLFormatter, '/usr/local/lib/perl5/site_perl/HTML/FormatText/W3m.pm');

If you want to use w3m, all you need is:

    Set($HTMLFormatter, 'w3m');

The reference to setting a full path is if the w3m _binary_ is not in
your PATH.  Setting it to the .pm file is incorrect.  Also note that
since w3m is the first program that RT will attempt to use, there is
generally no need to explicitly set $HTMLFormatter to w3m _at _all_
unless you wish to use a binary in an unusual location.

> The main idea is to avoid double newlines for outlook emails.
> I'll appreciate any advice regarding this.

You may be interested in
https://docs.bestpractical.com/RT_Config#CheckMoreMSMailHeaders

 - Alex



More information about the rt-users mailing list