IMAP: implement RFC822 fetch request

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1929 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2012-03-20 00:12:44 +00:00
parent 38c5bc2b97
commit f1c53cfc5e
1 changed files with 1 additions and 1 deletions

View File

@ -728,7 +728,7 @@ public class ImapConnection extends AbstractConnection {
} catch (ParseException e) {
throw new DavMailException("EXCEPTION_INVALID_DATE", message.date);
}
} else if (param.startsWith("BODY[") || param.startsWith("BODY.PEEK[") || "RFC822.HEADER".equals(param)) {
} else if (param.equals("RFC822") || param.startsWith("BODY[") || param.startsWith("BODY.PEEK[") || "RFC822.HEADER".equals(param)) {
// get full param
if (param.indexOf('[') >= 0) {
StringBuilder paramBuffer = new StringBuilder(param);