Fix: Emails sent with Outlook contain "=" characters

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@342 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-02-11 11:30:18 +00:00
parent 9462e3d11f
commit 78ac1ebbbb
1 changed files with 2 additions and 2 deletions

View File

@ -752,7 +752,7 @@ public class ExchangeSession {
boolean inHeader = true;
boolean inRecipientHeader = false;
while (!".".equals(line)) {
mailBuffer.append(line).append("\n");
mailBuffer.append(line).append((char)13).append((char)10);
line = reader.readLine();
if (inHeader && line.length() == 0) {
@ -777,7 +777,7 @@ public class ExchangeSession {
}
// patch thunderbird html in reply for correct outlook display
if (line != null && line.startsWith("<head>")) {
mailBuffer.append(line).append("\n");
mailBuffer.append(line).append((char)13).append((char)10);
line = " <style> blockquote { display: block; margin: 1em 0px; padding-left: 1em; border-left: solid; border-color: blue; border-width: thin;}</style>";
}
}