IMAP: allow partial part fetch
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@969 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
24770e614e
commit
3fd51ae302
|
@ -609,7 +609,7 @@ public class ImapConnection extends AbstractConnection {
|
||||||
os.write(baos.toByteArray());
|
os.write(baos.toByteArray());
|
||||||
os.flush();
|
os.flush();
|
||||||
buffer.setLength(0);
|
buffer.setLength(0);
|
||||||
} else if (param.startsWith("BODY[") && param.endsWith("]")) {
|
} else if (param.startsWith("BODY[")) {
|
||||||
int partIndex = 0;
|
int partIndex = 0;
|
||||||
// try to parse message part index
|
// try to parse message part index
|
||||||
String partIndexString = StringUtil.getToken(param, "[", "]");
|
String partIndexString = StringUtil.getToken(param, "[", "]");
|
||||||
|
|
Loading…
Reference in New Issue