Page 2 of 2

Re: HTML Email notifications for Mantis 2.x

Posted: 04 Sep 2024, 13:01
by acoder2020
That would be ideal 😌

Re: HTML Email notifications for Mantis 2.x

Posted: 12 Nov 2025, 18:44
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.

Re: HTML Email notifications for Mantis 2.x

Posted: 12 Nov 2025, 22:47
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