Line breaks in texts of email notifications not working in outlook

Bug #741766 reported by Quentin Estoppey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eventum
New
Undecided
Unassigned

Bug Description

When you have a templates for notifications, the line breaks are not displayed in Outlook (in some webmails it's ok). Outlook delete all "useless line breaks". So your notification message is displayed without line break, not so readable!

The only way I found is to send html body messages with <br> to force line beaks. I had to modifiy the function setBody to setHTMLBody for each notification template type in class.notification.php.
($mail->setHTMLBody($tpl->getTemplateContents());, before $mail->setBody($tpl->getTemplateContents());)
Then I had to change all notification templte and replace line breaks with <br>.

Is there another way with outlook ?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.