|
Date: 1/9/2008 3:34 pm · Subject: Re: Strange strings appearing in mail sent from WebGUI · Rating: -5
The main problem is that the TinyMCE seems to like removing all line-breaks. Even a message I got from the buglist today had a "! \n" string in it. I would say the right thing to do would be to insert the line-breaks after 900 characters + a space, or if there's no space, the first previous character that happens to be a space. Or even earlier. The RFC says it SHOULD break after 78 chars. I don't like the idea of base64 encoding the whole thing for performance reasons mostly. The same site sends 1,000+ e-mails on a slow day. Plus, as you mentioned, the added obfuscation. Perhaps the real "right thing to do" would be to completely re-format the line-breaks based on what type of content it's getting: HTML or Text. Ugly problem with no pretty solution...
|