[rt-users] HTML stripper

Craig Schenk murple at murple.net
Wed Mar 31 09:51:00 EST 2004


Demime kind of takes a sledgehammer approach, which is why I chose not to use
it. It doesn't strip HTML, it strips ANYTHING that isn't plain text. People
using our RT do need to send non-HTML things sometimes such as Word documents,
jpegs, or sometimes HTML documents. Demime clobbers all, and is a great tool
if you want nothing but text on your RT, mailing list, etc. You could of
course set up multiple aliases for the same RT queues and have a MIME-stripped
and MIME-allowed one but that would require more adminning and attention
paying users. The script I wrote doesnt clobber attachments, it just shows a
plaintext version of the HTML in them so someone reading a ticket can still
get at the MIME attachments if they want.


On 31-Mar-2004 Todd Chapman wrote:
> Why re-invent the wheel?
> 
> http://scifi.squawk.com/demime.html
> 
> Works wonderfully for us.



More information about the rt-users mailing list