Page 1 of 1

Extra header tags in emails make them unreadable

Posted: 12 Feb 2018, 15:05
by Tsjakka
The emails that Mantis sends to our users are very weird. Apparently an extra header tag <h2> is inserted as soon as a CR is found in the Note text. In the example below just before 'SCM Issue: 1419' a CR was inserted. Also, there are no line breaks to make it more readable.
Image

Re: Extra header tags in emails make them unreadable

Posted: 12 Feb 2018, 18:05
by rkarmann
Hi,

Please can you tell wich version of Mantis you are using ?

Have you done any changes in core files ?

And, is there a plugin running on your Mantis installation ?

Re: Extra header tags in emails make them unreadable

Posted: 13 Feb 2018, 08:39
by Tsjakka
Hi rkarmann, I am using 2.8. I tried 2.11 too but it has the same problem. I have not changed the core files. I have a few plugins installed: Source Subversion Integration and Mantis CSV Importer. But I had this problem before I installed the plugins.

Re: Extra header tags in emails make them unreadable

Posted: 13 Feb 2018, 09:00
by rkarmann
Hi,

Well it's very strange... My opinion is that it could be linked to your mail server. Wich one are you using ? Exchange ?

In that case, I won't be able to help you so far so I recommend to see with Mantis developer team how to fix your issue !

Good luck :)

Re: Extra header tags in emails make them unreadable

Posted: 14 Feb 2018, 16:36
by Tsjakka
I am using SendGrid as SMTP server. Our mails do come in over Exchange, so it's a bit of both I guess.

Re: Extra header tags in emails make them unreadable

Posted: 14 Feb 2018, 16:59
by atrol
Mantis sends email using content-type text/plain so you should not see any formatting or any different font size.

Your problem might be caused by the mail system you use to send the email, any other component between this system and your mail agent and finally by your mail agent.