Multiple mail problem with "Watch forum"

Me and at least some others have been experiencing a problem that every post in the forum results in 2-4 email notifications about the post. The number of how many notifications are sent seems to be somehow systematic, but I haven’t yet figured out how.

Please report your experiences, also if you do not receive any duplicate notifications.

This is a test, ignore.

I watch all forums, but have not got any multiple notifications. Just one per new topic.

// jonas

I’ve always received 2-4 mails for new posts.

I get 4 mails.

One thing: I’ve enabled these options in my profile:

  • Send e-mail notification when posts get answered
  • Send notification for all new messages

How about you guys?

I have enabled answer notification, but not for all new messages.

I have:

  • Send e-mail notification when posts get answered
  • Send notification for all new messages

Test

I disabled google stuff from our forum templates (html pages) and still multiple emails are sent. Tcpdump tells us the ugly truth, jforum has a multiple bugs sending emails (not only it sends multiple emails, it also communicates wrongly with smtp server), I’ll let Marko to inspect this further through jforum sources…

Trying again after changes to jforums SQL query…

Again testing after injecting new GenericForumDAO.class into production…

restarted jforums…

If there is any justice in this god forsaken jforum source code, multiple mail problem has now been fixed.

Yes, now it seems to work. Debug shows that we now skip duplicate emailings.

Writing new topic spams emails through GenericForumDAO, but answering to existing topic goes through GenericTopicDAO. Had to do two same fixes. Code is almost identical in both classes, including typos. Now that’s quality, ehh?

Hacking jforum code gets always more and more “interesting”…

It works! thanks!