mirror of
https://github.com/moparisthebest/davmail
synced 2025-02-28 09:21:49 -05:00
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 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>";
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user