[rt-users] HTML Mail

Ruslan U. Zakirov Ruslan.Zakirov at acronis.com
Tue Nov 16 02:16:31 EST 2004


Franz Georg Köhler wrote:
> Hello everyone,
> 
> our rt3 installation (3.0.11-5, debian) does not assign the correct
> content-type to messages, which are non-multipart html.
> 
> Example (as being produced from web.de's web frontend):
> 
> [...]
> MIME-Version: 1.0
> Content-Type: text/html; charset="iso-8859-1"
> Organization: http://freemail.web.de/
> 
> rt does convert the html-file into an attachment, but doesn't transfer
> the content-type corrently.
> Inside rt, the file is only avaiable as "text/plain", while it should
> keep "text/html", which causes the browser not to parse the markup.
> 
> Is this a known issue or a local configuration problem?
It's not an issue, it's right behaviour. Protection from cross site 
scripting. Check RT Config.pm file there is special option that enable 
text/html content type.

> 
> Maybe, it is possible to convert html messages to plain text via lyns
> or perl (html2text)?
In 3.0.x you can use html2text outside of RT in your mail delivery 
chain. RT-3.2.x and higher show stripped HTML parts in line so you may 
want to upgrade.

> 
> 
> 
> 
> Thanks,
> 
> Franz Georg Köhler
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT wiki at http://wiki.bestpractical.com




More information about the rt-users mailing list