Page 1 of 1

Chaotic mail formatting after mantis upgrade

Posted: Jan 24, 2017 2:46 am
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: Jan 25, 2017 8:47 am
by dhintr
Is there any way to change the email formatting without changing some config?

Re: Chaotic mail formatting after mantis upgrade

Posted: Jan 25, 2017 9:02 am
by atrol

Re: Chaotic mail formatting after mantis upgrade

Posted: Jan 26, 2017 3:55 pm
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