Page 1 of 1

Changing the notification email

Posted: 06 Sep 2007, 07:37
by guruossi
Hi!

I would like to add an additional field (assigned user) to the email subject, but my knowledge of PHP is limited so I cant seem to find the variable I have to insert.

Can anyone help me out with what I have to insert where, so my email subject shows the user that is assigned to this bug?

Thanks in advance,
Carsten

Posted: 06 Sep 2007, 11:11
by cris
If I understood, you would like to put the name in the subject of all mails that are sent by mantis ?

If it's what you want, I think you have to modify all functions which call email_send() (in core/email_api.php) and add a parameter (like $p_assigned_people). This param will contain the id of the person or the name, like you want.

Is that ?

Posted: 06 Sep 2007, 12:21
by guruossi
Sounds about right... I'll try that and report later ;)