IMAP: only send partial if startIndex>0 for Outlook

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@431 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-03-10 00:32:04 +00:00
parent 1a6294a690
commit 4193ae3fa5
1 changed files with 1 additions and 1 deletions

View File

@ -503,7 +503,7 @@ public class ImapConnection extends AbstractConnection {
}
buffer.append(" RFC822.SIZE ").append(rfc822size).append(" ").append("BODY[]");
// partial
if (ltIndex >= 0) {
if (startIndex > 0) {
buffer.append('<').append(startIndex).append('>');
}
buffer.append(" {").append(baos.size()).append("}");