Changing the notification email

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
guruossi
Posts: 4
Joined: 12 Jun 2007, 09:03

Changing the notification email

Post 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
cris
Posts: 21
Joined: 21 Jun 2007, 12:05

Post 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 ?
guruossi
Posts: 4
Joined: 12 Jun 2007, 09:03

Post by guruossi »

Sounds about right... I'll try that and report later ;)
Post Reply