HTML Email notifications for Mantis 2.x
Moderators: Developer, Contributor
-
acoder2020
- Posts: 104
- Joined: 11 Jan 2024, 19:32
Re: HTML Email notifications for Mantis 2.x
That would be ideal 
-
acoder2020
- Posts: 104
- Joined: 11 Jan 2024, 19:32
Re: HTML Email notifications for Mantis 2.x
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:
2) Back up the stock email_api.php, then copy over the modified email_api.php from the old install to new:
HTML emails should now work in the new version.
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 .
Re: HTML Email notifications for Mantis 2.x
You lost all changes of this file between 2.27.0 and 2.27.3then copy over the modified email_api.php from the old install to new