Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
602 views
in Q2A Core by
Hi,

in all Emails sent by q2a (1.3.beta) on my site all newline are displayed as "\n".

Has someone an idea how to fix.
I installed q2a 5 days before and can't remember to this issue with version 1.2.

 

Oliver
by
Even in Thunderbird and Outlook.
by
Can you please post an example message where the \n appears.
by
Yes thx

Received: from panda ([192.168.1.61]) by Mail.blob.de with Microsoft SMTPSVC(6.0.3790.3959);
     Sat, 6 Nov 2010 02:32:19 +0100
Received: by panda(Postfix, from userid 1003)
    id 5C6B754040A; Sat,  6 Nov 2010 02:32:19 +0100 (CET)
To: Doe <me@somewhere.de>
Subject: =?utf-8?Q?Ihre_Ihre_Ideen_f=C3=BCr_D05-IKT_Idee_wurde_beantwortet?=
Date: Sat, 6 Nov 2010 02:32:19 +0100
From: =?utf-8?Q?Ihre_Ideen_f=C3=BCr_D05-IKT?= <someone@somewhere.de>
Message-ID: <85bf535f33ba4381f08aae41d489de42@lixit>
X-Priority: 3
X-Mailer: PHPMailer (phpmailer.sourceforge.net) [version 2.0.4]
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Return-Path: someone@somewhere.de
X-OriginalArrivalTime: 06 Nov 2010 01:32:19.0944 (UTC) FILETIME=[74231E80:01CB7D52]

Doe,

Ihre Idee auf "Ihre Ideen f=C3=BCr D05-IKT" wurde beantwortet:\n\neeeeeee=
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee\n\nIhre Idee lautete:\n\=
nSome Update zu Version 3.0\n\nSie k=C3=B6nnen nun Antworten oder die Ant=
wort als beste Antwort markieren:\n\nhttp://somewhere=
.de/ideen/310/otrs-update-zu-version-3-0#a319\n\nDanke,\n\nIhre Ideen f=C3=
=BCr D05-IKT


Private data was renamed.
by
I swtiched back to my old version 1.2 (just moved the folders).
Even there I have this problem.
But I found an old notfications email which is ok. *wounder*
by
And with the original code from you it is ok.
(Unpacked the original files)

Do youhave an idea where I have to  search?
by
The issue depents on my qa-lang/de files.

I keep on searching
by
Hello, I found my bug. I had to retranslate my qa-lang-emails.php file.

1 Answer

+1 vote
by
 
Best answer
So, just to make this question answered, the solution was probably to check that the translated language files use double quotes (") instead of single quotes ('), so that \n is interpreted as a newline instead of being inserted into the emails directly.

Welcome to the Q&A site for Question2Answer.

If you have a question about Q2A, please ask here, in English.

To report a bug, please create a new issue on Github or ask a question here with the bug tag.

If you just want to try Q2A, please use the demo site.

Categories

...