|
|
@ -573,13 +573,7 @@ public class MessageHelper {
|
|
|
|
if (part.isMimeType("text/plain") || text)
|
|
|
|
if (part.isMimeType("text/plain") || text)
|
|
|
|
result = "<pre>" + result.replaceAll("\\r?\\n", "<br />") + "</pre>";
|
|
|
|
result = "<pre>" + result.replaceAll("\\r?\\n", "<br />") + "</pre>";
|
|
|
|
|
|
|
|
|
|
|
|
if (part.isMimeType("text/plain")) {
|
|
|
|
return result;
|
|
|
|
Log.i("Plain text");
|
|
|
|
|
|
|
|
return result;
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
Log.i("HTML text");
|
|
|
|
|
|
|
|
return result;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
List<EntityAttachment> getAttachments() throws MessagingException {
|
|
|
|
List<EntityAttachment> getAttachments() throws MessagingException {
|
|
|
|