Page 1 of 1
From: field in emails not consistent (v.1.2.8)
Posted: 27 Feb 2012, 17:41
by KenTech
When a change to an existing bug record triggers an email, the From: field shows the correct name. In our case it is Write Brothers - Beta Testing. However, when someone submits a new bug, the From: field shows Dprobeta, which is part of the email address from which the email is sent. Why the difference? Where does it pull the From: field for new bug submissions?
Re: From: field in emails not consistent (v.1.2.8)
Posted: 27 Feb 2012, 21:08
by atrol
Are the emails sent from issues of the same project?
Re: From: field in emails not consistent (v.1.2.8)
Posted: 27 Feb 2012, 21:22
by KenTech
Yes.
Re: From: field in emails not consistent (v.1.2.8)
Posted: 28 Feb 2012, 07:56
by atrol
I am not able to reproduce the issue with one project.
I had a look at the source code and at the moment I don't see any other option than setting §g_from_name which influences the behaviour.
If you set from_name in database configuration you can set it per project, that's why I asked if the issues are from same project.
Re: From: field in emails not consistent (v.1.2.8)
Posted: 28 Feb 2012, 16:04
by KenTech
atrol wrote:I am not able to reproduce the issue with one project.
I had a look at the source code and at the moment I don't see any other option than setting §g_from_name which influences the behaviour.
If you set from_name in database configuration you can set it per project, that's why I asked if the issues are from same project.
Maybe I did that by accident. How would one set it per project compared to globally?
Re: From: field in emails not consistent (v.1.2.8)
Posted: 28 Feb 2012, 17:22
by atrol
KenTech wrote:
Maybe I did that by accident. How would one set it per project compared to globally?
You wrote, that the emails are from one project, so this can't cause the issue.
You can use "Manage" -> "Manage Configration" -> "Configuration Report" to display and set most of the available options per project
Configuration option: from_name
Type: String
Re: From: field in emails not consistent (v.1.2.8)
Posted: 28 Feb 2012, 17:34
by KenTech
Here are examples of the two "From:" fields we get when emails are submitted. I was wrong at first, these are both new submissions, and I can't tell why we get some with one From: and some with another.

Re: From: field in emails not consistent (v.1.2.8)
Posted: 28 Feb 2012, 17:42
by atrol
Did you change any source code of MantisBT?
Did you install any plugins or custom functions?