How to customize the Email subject ?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
powerboots
Posts: 26
Joined: 19 Jan 2007, 01:27

How to customize the Email subject ?

Post by powerboots »

The standard Email notification subject includes the bug id and the bug summary.

It could be of much help to be able to include a custom field into the Email subject. For example the Reporter name.

Is that possible?

Many thanks,
:D
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Post by deboutv »

No it is not possible (unless you patch the code).
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/

Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
powerboots
Posts: 26
Joined: 19 Jan 2007, 01:27

Post by powerboots »

Hi deboutv,

Can you be a bit more specific?!
8O
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Post by deboutv »

You need to do some changes in the core files (core/email_api.php). .
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/

Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
vboctor
Site Admin
Posts: 1304
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

Check email_build_subject() in core/mail_api.php. It should be easy to change it there.
Migrate your MantisBT to the MantisHub Cloud
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Post by deboutv »

vboctor wrote:Check email_build_subject() in core/mail_api.php. It should be easy to change it there.
No, this function is only used when a reminder is sent...

I'm working to integrate this request in my HTMLmail plugin (Wiki)
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/

Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
Post Reply