You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2010-07-02 23:32:58

treydock
Member
Registered: 2009-02-26
Posts: 42

Bug in 0.78 RC1, Email message formatting ignored

I am currently using GLPI v0.72.21 on my live server and testing 0.78.  When I'm testing 0.78 I've noticed that email followups lose the formatting from original messages.  The formatting, mainly new lines, are correct when viewing the ticket in GLPI, but when the email is sent out the formatting is erased which makes some emails nearly impossible to read as it removes new line characters.  This has been the case when 0.78 was in development only and now with RC1.

GLPI v0.78 RC1
Gentoo Linux
Install from tarball
PHP 5.3.13 , Apache 2.2.15 , MySQL 5.1.39


Live Instance >> CentOS 5.6 x64 | Apache-2.2.3 | PHP-5.1.6 | MySQL-5.0.77 | Kernel 2.6.18-194.el5 | GLPI v0.80.2 | OCS 2.0RC3 (~500 units)
Dev Server >> Same as above

Offline

#2 2010-07-03 06:50:48

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Bug in 0.78 RC1, Email message formatting ignored


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#3 2010-07-03 19:05:05

treydock
Member
Registered: 2009-02-26
Posts: 42

Re: Bug in 0.78 RC1, Email message formatting ignored

For some reason my Firefox add-on translators aren't working on that page.  I noticed something about it working in text...how do you specify which format to use for notifications?

Also on the last post, what is "nl2br" ?  Trying to figure this out.

Thanks!
- Trey


Live Instance >> CentOS 5.6 x64 | Apache-2.2.3 | PHP-5.1.6 | MySQL-5.0.77 | Kernel 2.6.18-194.el5 | GLPI v0.80.2 | OCS 2.0RC3 (~500 units)
Dev Server >> Same as above

Offline

#4 2010-07-03 19:08:58

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Bug in 0.78 RC1, Email message formatting ignored

> how do you specify which format to use for notifications?

If your template include HTML, mail will be send in both format (text + html)
If your template don't include HTML, (text is mandatory), mail will be send in text only

> what is "nl2br" ?

This is the "to be implemented" solution.

+


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

Board footer

Powered by FluxBB