Hello Every One,
I searched these forum, but I did not find answer to my need.
I need the name of the reporter put into the Subject of the notification e-mail.
How can I make it work?
Thank you for your help.
Szollosi
How to put reporter name into the Subject of Notification mail?
Moderators: Developer, Contributor
Re: How to put reporter name into the Subject of Notification mail?
This is not available out of the box, you would need to adjust a core script.
There is a function called "email_buid_subject" in core/email_api.php
There you need to add the reporter to tghe subject line.
There is a function called "email_buid_subject" in core/email_api.php
There you need to add the reporter to tghe subject line.
Re: How to put reporter name into the Subject of Notification mail?
Thank you
I found these:
$t_email_subject = '[' . $p_project_name . ' ' . $t_bug_id . ']: ' . $p_subject;
I tried with these:
$t_email_subject = '[' . $p_project_name . ' ' . $t_bug_id . ']: ' . $p_subject. $t_reporter_id ;
but nothing changed.
What code should I put there?
I found these:
$t_email_subject = '[' . $p_project_name . ' ' . $t_bug_id . ']: ' . $p_subject;
I tried with these:
$t_email_subject = '[' . $p_project_name . ' ' . $t_bug_id . ']: ' . $p_subject. $t_reporter_id ;
but nothing changed.
What code should I put there?
Re: How to put reporter name into the Subject of Notification mail?
Think something would have changed but not what you expected. $t_reportd_id is just a number and I assume you would like to have a name.
so I would look @ something like:
$t_email_subject = '[' . $p_project_name . ' ' . $t_bug_id . ']: ' . $p_subject. '( '.user_get_realname($t_reporter_id) . ' )';
so I would look @ something like:
$t_email_subject = '[' . $p_project_name . ' ' . $t_bug_id . ']: ' . $p_subject. '( '.user_get_realname($t_reporter_id) . ' )';