Ticket #178 (closed enhancement: fixed)

Opened 5 years ago

Last modified 4 years ago

extraRecipients in MailNotifiers should be CC'ed, not in the TO: list

Reported by: soundgeek Owned by: warner
Priority: minor Milestone: 0.7.10
Version: 0.7.6 Keywords: MailNotifier
Cc:

Description

As the buildbot sheriff, I am in the extraRecipients list for all of my MailNotifiers?. Because of this, I usually can't tell if I'm being sent the "build failed" email b/c *I* broke the build or just because I'm on the extra recipients list. Thus, I have to manually check which is usually a waste of time. It'd be great if the extra recipients list was CC'ed instead of being on the TO: list. The notifier does appear to merge my name if I was at fault (i.e. it's only in the TO: list once) so this does require some extra smarts if I was actually to blame.

I took a look at the code in the MailNotifier? class but I don't understand Deferreds so I wasn't quite sure how to do the change. I could also see a case where not everybody would want to use the CC: list so some extra option might be needed.

Attachments

mailCC.patch Download (1.3 KB) - added by cmetcalf 5 years ago.
0002-Add-email-validation-and-TO-CC.patch Download (3.2 KB) - added by cmetcalf 5 years ago.
Tested patch to do this

Change History

comment:1 Changed 5 years ago by warner

  • Owner set to warner
  • Status changed from new to assigned
  • Milestone changed from undecided to 0.7.8

sounds like a good idea.. I'll look into it.

comment:2 Changed 5 years ago by cmetcalf

I think this is pretty simple. This patch goes with my fix for #378.

Changed 5 years ago by cmetcalf

Changed 5 years ago by cmetcalf

Tested patch to do this

comment:3 Changed 4 years ago by dustin

  • Status changed from assigned to closed
  • Resolution set to fixed

in my branch

comment:4 Changed 4 years ago by dustin

I also fixed the unit tests to correspond

comment:5 Changed 4 years ago by dustin

  • Milestone changed from 0.8.0 to 0.7.+

comment:6 Changed 4 years ago by dustin

  • Milestone changed from 0.7.+ to 0.7.10
Note: See TracTickets for help on using tickets.