[Tickets #6853] Protect against notifying email recipients twice or more

bugs at horde.org bugs at horde.org
Fri Jun 6 08:54:25 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6853
-----------------------------------------------------------------------
 Ticket             | 6853
 Created By         | Thomas Jarosch <thomas.jarosch at intra2net.com>
 Summary            | Protect against notifying email recipients twice or
more
 Queue              | Whups
 Type               | Enhancement
 State              | New
 Priority           | 1. Low
 Milestone          |
 Patch              |
 Owners             |
+New Attachment     | whups-notify-only-once.patch
-----------------------------------------------------------------------


Thomas Jarosch <thomas.jarosch at intra2net.com> (2008-06-06 04:54) wrote:

Hello together,

I've been receiving email notifies for #6837 twice for every comment.
After some investigation it turned out I sometimes used my bugtracker
account and sometimes my plain email address to reply to comments.

Attached patch protects against notifying the same email recipient twice.

I also fixed $full_name handling, which looked broken to me: $full_name
gets updated -after- it has been used and used the "mailbox" instead of
"personal" field of MIME::parseAddressList(). If we are unable to determine
a full name, we fallback to the email address.

The code is untested as I don't have a whups/SQL database running over
here,
so please be kind to syntax errors, if any :-)





More information about the bugs mailing list