Ticket #386 (closed enhancement: fixed)
support for extra mail headers (like Reply-To) in MailNotifier
|Reported by:||smadness||Owned by:|
Description (last modified by dustin) (diff)
It would be nice to have ability to specify extra headers in buildbot.status.mail's MailNotifier?. Such as, the Reply-To: would be extremely handy to set to a group email address so people don't try and respond directly to the master.
A workaround is to override the fromaddr to be the group address desired, but this would break email filters that have rules set to "From: buildbot", etc.
An example of what I'd like:
c['status'].append( mail.MailNotifier( fromaddr="firstname.lastname@example.org", replytoaddr="email@example.com", ... or c['status'].append( mail.MailNotifier( fromaddr="firstname.lastname@example.org", extraHeaders=["Reply-To: email@example.com", "List-Id: firstname.lastname@example.org"], ...