Hello Alex,

Regarding jira, although not a requirement, it would be easier to conduct this discussion if you were registered (in jira).

Anyway, support for charset encoding in SMTPAppender was introduced in logback 0.9.14. You reported using logback 0.9.11. Could you please try with the latest version of logback, namely 0.9.14?

I am using a modified version of chapter4.mail.EMail application. See [1] for actual code. This application is quite trivial. It configures logback, and logs several debug messages followed by an error message. I modified the code so that messages contained special characters with accents.

An edited version of a resulting mail as received by my mail client (Thunderbird) is attached to this message.

At this stage, I suggest that you upgrade to logback 0.9.14 and if that does not work, send us a resulting message in the form of a file.

HTH,

[1] http://logback.qos.ch/xref/chapter4/mail/EMail.html

alex wrote:
Sorry Ceki ,
I give you more information for debug if possible :
The code run on Resin 3.1.6 using java 1.6.0.6, logback 0.9.11., slf4j ver 1.5.5 and using Thunderbird 2.0.0.19 to read

Do you use a stand alone application to test it ? Is possible to have the code for test in my enviroment ?

Thanks a lot for all

PS Sorry I do not understand if is possible to me to continue on jiira to continue the description.. Should I register to do that ?
--
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
Date: Fri, 16 Jan 2009 11:04:02 +0100 (CET)
From: [email protected]
To: [email protected]
Message-ID: <26680060.01232100242953.javamail.c...@orion>
Subject: chapter4.mail.EMail - At last an error.
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_Part_0_1259414.1232100242859"

------=_Part_0_1259414.1232100242859
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

2009-01-16 11:04:02,703  DEBUG chapter4.mail.EMail - =C3=A9 gi=C3=A0 SCADUT=
O
[snip]
2009-01-16 11:04:02,765  ERROR chapter4.mail.EMail - At last an error.
java.lang.Exception: Just testing
=09at chapter4.mail.EMail.main(EMail.java:54) [classes/:na]

------=_Part_0_1259414.1232100242859--
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user

Reply via email to