HTML Email notifications for Mantis 2.x

General discussion about MantisBT Plugins

Moderators: Developer, Contributor

acoder2020
Posts: 104
Joined: 11 Jan 2024, 19:32

Re: HTML Email notifications for Mantis 2.x

Post by acoder2020 »

That would be ideal 😌
acoder2020
Posts: 104
Joined: 11 Jan 2024, 19:32

Re: HTML Email notifications for Mantis 2.x

Post by acoder2020 »

I recently upgraded from 2.27.0 to 2.27.3

If you are indeed using HTML email notifications here are your extra steps after the main package upgrade has completed and system is known up and working properly.

1) When upgrading to a new version of Mantis, be sure to copy the template files to the new mantis version folder like so:

Code: Select all

[user@linuxbox]# cd /var/www/html/mantis/
[user@linuxbox]# cp -a mantisbt-2.27.0/core/template_api.php mantisbt-2.27.3/core/
[user@linuxbox]# cp -a mantisbt-2.27.0/core/templates/ mantisbt-2.27.3/core/

2) Back up the stock email_api.php, then copy over the modified email_api.php from the old install to new:

Code: Select all

[user@linuxbox]# cd /var/www/html/mantis/mantisbt-2.27.3/core/
[user@linuxbox]# mv email_api.php email_api.php.2.27.3
[user@linuxbox]# cp -a /var/www/html/mantis/mantisbt-2.27.0/core/email_api.php .
HTML emails should now work in the new version.
atrol
Site Admin
Posts: 8542
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: HTML Email notifications for Mantis 2.x

Post by atrol »

then copy over the modified email_api.php from the old install to new
You lost all changes of this file between 2.27.0 and 2.27.3
Please use Search before posting and read the Manual
Post Reply