mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 11:42:23 -05:00
IMAP: Fix append with no optional parameters
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1510 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
e517cc0433
commit
8126642f15
@ -81,7 +81,7 @@ public class ImapConnection extends AbstractConnection {
|
|||||||
IMAPTokenizer tokens;
|
IMAPTokenizer tokens;
|
||||||
try {
|
try {
|
||||||
ExchangeSessionFactory.checkConfig();
|
ExchangeSessionFactory.checkConfig();
|
||||||
sendClient("* OK [" + capabilities + "] IMAP4rev1 DavMail " + DavGateway.getCurrentVersion() + "server ready");
|
sendClient("* OK [" + capabilities + "] IMAP4rev1 DavMail " + DavGateway.getCurrentVersion() + " server ready");
|
||||||
for (; ;) {
|
for (; ;) {
|
||||||
line = readClient();
|
line = readClient();
|
||||||
// unable to read line, connection closed ?
|
// unable to read line, connection closed ?
|
||||||
@ -466,7 +466,7 @@ public class ImapConnection extends AbstractConnection {
|
|||||||
|
|
||||||
properties.put("datereceived", dateFormatter.format(dateReceived));
|
properties.put("datereceived", dateFormatter.format(dateReceived));
|
||||||
}
|
}
|
||||||
int size = Integer.parseInt(nextToken);
|
int size = Integer.parseInt(removeQuotes(nextToken));
|
||||||
sendClient("+ send literal data");
|
sendClient("+ send literal data");
|
||||||
byte[] buffer = in.readContent(size);
|
byte[] buffer = in.readContent(size);
|
||||||
// empty line
|
// empty line
|
||||||
|
Loading…
Reference in New Issue
Block a user