Word Limit on Email Notifications of Forum Posts?
The email notification related to the update George Otte sent out today for the CUNY Academic Technology Committee meeting was cut off at a certain point. Is there a word limit on notifications? If so, perhaps we should lengthen it a bit. And if it is going to be cut off, there should be a message that says something like "Read the full post" with a link to the post.
#3 Updated by Boone Gorges about 11 years ago
Matt, I've tried to reproduce this on my local installation, but I can't. Messages of many thousands of words go through just fine. And I tried with George's very message, and it seemed to work fine as well. Can you tell me the point at which his original message was cut off (what word/sentence/phrase)?
#4 Updated by Boone Gorges about 11 years ago
(It's possible, fwiw, that George originally posted a truncated version of the message, which prompted the truncated email notification, but then immediately fixed it on the website. That'd explain why I can't reproduce it, and why this problem has not risen before.)
#8 Updated by Matt Gold about 11 years ago
Here's George's response:
"I never noticed that. I didn't do anything unusual when I posted. The problem was with the post itself. I forgot to do close-quotation marks around the coding for the link. I went back in and edited that when I noticed the problem on the forum, but never registered the problem in the email post. "
#9 Updated by Boone Gorges about 11 years ago
- Status changed from Assigned to Rejected
Thanks for forwarding the email. When George says he forgot some quotes on a link, I'm assuming he means the link to the TOS, which is the first word missing in the truncated message. That suggests that some invalid HTML had the effect of messing up the email filters. This is unsurprising. Links in posts to be emailed are handled by converting them to "text [url]", which is a custom filter that I wrote, and it would likely not know what to do with invalid HTML.
I can't really write the filter in such a way that it is able to account for all possible HTML syntax errors. And since we'll probably be reintroducing TinyMCE in forum textboxes in an upcoming release, it seems quite unlikely that this problem will arise with a frequency that should concern us.