Return text body if Content-Type is empty

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@66 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2007-05-16 12:01:44 +00:00
parent 81aa7c092c
commit f397e6c117
1 changed files with 2 additions and 1 deletions

View File

@ -1041,7 +1041,8 @@ public class ExchangeSession {
}
}
} else if ("text/plain".equalsIgnoreCase(mimeHeader.contentType)) {
} else if (mimeHeader.contentType == null ||
"text/plain".equalsIgnoreCase(mimeHeader.contentType)) {
currentBody = body;
}
if (currentBody != null) {