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