Open Bug 1329999 Opened 7 years ago Updated 7 months ago

Change realname field of bugmail to realname of sender

Categories

(bugzilla.mozilla.org :: Email Notifications, enhancement)

Production
enhancement
Not set
normal

Tracking

()

People

(Reporter: dylan, Unassigned)

Details

It would be nice if the real name portion of the emails sent by bugzilla were the person who generated the change.

This is a little complicated as determining the person that triggered the email
is possibly difficult...

It would involve changing all the files in https://github.com/mozilla-bteam/bmo/tree/master/template/en/default/email/ that end with .txt.tmpl
It seems the From header comes from Param("mailfrom"), which according to https://github.com/mozilla-bteam/bmo/blob/e655f5133b4dd5c5d6f253069767db75c64eb349/template/en/default/pages/release-notes3.html.tmpl#L2978 is a configuration option.

I guess we need to change this to take a subset of changer.identity (from https://github.com/mozilla-bteam/bmo/blob/master/template/en/default/email/bugmail.txt.tmpl#L72) instead.  I’m assuming changer.identity contains the full name _and_ the email address of whoever is using the change, what we want is to take the changer’s name and the Bugzilla configuration’s email address, so we end up with this:

    From: Jane Doe <bugzilla-daemon@mozilla.org>

Does this sound reasonable?
Type: defect → enhancement
You need to log in before you can comment on or make changes to this bug.