mirror of
https://github.com/moparisthebest/davmail
synced 2025-02-28 09:21:49 -05:00
IMAP: do not send bodystructure at all, as we do not parse MIME body, best way to support most clients (Thunderbird, Apple Mail, Outlook)
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@397 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
6cc5e2ec6f
commit
49b4301ce0
@ -433,8 +433,6 @@ public class ImapConnection extends AbstractConnection {
|
||||
String param = paramTokens.nextToken();
|
||||
if ("FLAGS".equals(param)) {
|
||||
buffer.append(" FLAGS (").append(message.getImapFlags()).append(")");
|
||||
} else if ("BODYSTRUCTURE".equals(param)) {
|
||||
buffer.append(" BODYSTRUCTURE (\"TEXT\" \"PLAIN\" (\"CHARSET\" \"windows-1252\") NIL NIL \"QUOTED-PRINTABLE\" ").append(message.size).append(" 50 NIL NIL NIL NIL))");
|
||||
} else if ("INTERNALDATE".equals(param) && message.date != null && message.date.length() > 0) {
|
||||
try {
|
||||
SimpleDateFormat dateParser = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
|
||||
|
Loading…
x
Reference in New Issue
Block a user