Page 1 of 1

Chaotic mail formatting after mantis upgrade

Posted: 24 Jan 2017, 07:46
by dhintr
Hi!
I am experiencing the following problem: We upgraded our mantis to 2.0.0 and so far everything seems to work but the email notifications. First thing; outlook says that it has removed extra line breaks from the message (which wasnt so with the notifications of our old mantis version), secondly (after letting outlook revert what it did to the mail) the formatting still is weird; the equal signs (separators between blocks of information) are split into three lines and every second line in the email is a blank line (a line break, I suppose).
Is there some way to get the old email notifications back? We tried swapping the email_api.php from the old mantis version with the new one, but that makes mantis crash (show a blank page).
Any help would be much appreciated :)

Re: Chaotic mail formatting after mantis upgrade

Posted: 25 Jan 2017, 13:47
by dhintr
Is there any way to change the email formatting without changing some config?

Re: Chaotic mail formatting after mantis upgrade

Posted: 25 Jan 2017, 14:02
by atrol

Re: Chaotic mail formatting after mantis upgrade

Posted: 26 Jan 2017, 20:55
by dhintr
Did help indeed. I commented out the following lines in core/email_api.php:
$t_mail->LE = "\r\n";
$t_mail->Encoding = 'quoted-printable';

Now it works :)

Thanks