[rt-users] HTML E-Mails (was: No Answers)
Jesse Vincent
jesse at bestpractical.com
Tue Feb 20 11:37:26 EST 2007
On Feb 19, 2007, at 6:00 AM, Torben Nehmer wrote:
> Hello everybody,
>
> thanks for the answers so far, I'm starting to get a grasp at the
> problems now.
>
> -- On 2007-02-14 James Moseley wrote:
>> Torben, without doing the research, I am not even sure if the RT
>> code knows
>> how to parse html email. I think you'd be better off just sending
>> plain
>> text email through the mailgate. I am sure this topic has been
>> covered
>> before somewhere in the list archives.
>
> I have been searching for the specific problem I have here with MS
> Outlook driven HTML / Rich Text mails, unfortunalety the only
> references I found were years old and basically outlining the same
> problem but no solution which I could use.
>
> I have been thinking patching into RTs HTML Mail handling to
> optionally plug in HTMLTidy before actually showing the mails, but
> so fare I would need some pointers where to start looking (RTs
> codebase isn't exactly trivial to understand, which is no
> complaint, just a statement of fact):
>
We're already doing a "tidy" like operation on the content to prevent
nasty stuff from leaking through (which might be causing your
problem) It's in /Elements/ScrubHTML.
That's probably the best place to do additional html hacking.
-jesse
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070220/db781bb3/attachment.sig>
More information about the rt-users
mailing list