1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-12 18:52:21 -05:00

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

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) {