Hi all,
Since migrating from OTRS 3.1.6 (Windows) to 3.2.7 (Ubuntu) the lines of the customer's email within the agents' notifications (<OTRS_CUSTOMER_EMAIL[5]>) contain no line breaks. This is causing some notifications to be very hard to read!
However using the same tag the text is displayed correctly in the customer's auto-response.
What could cause this?
Thanks for any advice.
It is being displayed like this:
But it works fine in the customer's auto-response:
(CLOSED) Line breaks fail using: <OTRS_CUSTOMER_EMAIL[5]>
Moderator: crythias
(CLOSED) Line breaks fail using: <OTRS_CUSTOMER_EMAIL[5]>
You do not have the required permissions to view the files attached to this post.
Last edited by bayerex on 16 Jul 2013, 19:17, edited 1 time in total.
Current Production Server (recently switched from Windows)
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31
Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31
Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0
Re: Line breaks don't work using <OTRS_CUSTOMER_EMAIL[5]>
Can anyone please advise me on this problem? Many thanks
Current Production Server (recently switched from Windows)
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31
Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31
Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0
Re: Line breaks don't work using <OTRS_CUSTOMER_EMAIL[5]>
As a hot fix I've added this TemplateGenerator.pm which has cured the problem
Line: 836
Line: 836
Code: Select all
$Article{Body} = $Self->{HTMLUtilsObject}->ToHTML(
String => $Article{Body},
);
Current Production Server (recently switched from Windows)
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31
Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31
Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0