mirror of
https://github.com/moparisthebest/davmail
synced 2025-02-28 09:21:49 -05:00
IMAP: add BODY.PEEK[index] support
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@978 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
b03db2e42d
commit
cc23ec78ab
@ -610,7 +610,7 @@ public class ImapConnection extends AbstractConnection {
|
||||
os.write(baos.toByteArray());
|
||||
os.flush();
|
||||
buffer.setLength(0);
|
||||
} else if (param.startsWith("BODY[")) {
|
||||
} else if (param.startsWith("BODY[") || param.startsWith("BODY.PEEK[")) {
|
||||
int partIndex = 0;
|
||||
// try to parse message part index
|
||||
String partIndexString = StringUtil.getToken(param, "[", "]");
|
||||
|
Loading…
x
Reference in New Issue
Block a user