Chaotic mail formatting after mantis upgrade

Get help from other users here.

Moderators: Contributor, Developer

Post Reply
dhintr
Posts: 5
Joined: Jan 24, 2017 2:38 am

Chaotic mail formatting after mantis upgrade

Post by dhintr » Jan 24, 2017 2:46 am

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 :)

dhintr
Posts: 5
Joined: Jan 24, 2017 2:38 am

Re: Chaotic mail formatting after mantis upgrade

Post by dhintr » Jan 25, 2017 8:47 am

Is there any way to change the email formatting without changing some config?

atrol
Site Admin
Posts: 7527
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Chaotic mail formatting after mantis upgrade

Post by atrol » Jan 25, 2017 9:02 am

Please use Search before posting and read the Manual

dhintr
Posts: 5
Joined: Jan 24, 2017 2:38 am

Re: Chaotic mail formatting after mantis upgrade

Post by dhintr » Jan 26, 2017 3:55 pm

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

Post Reply