|
|
@ -127,7 +127,8 @@ public class ActivityEml extends ActivityBase {
|
|
|
|
result.parts = HtmlHelper.fromHtml(sb.toString());
|
|
|
|
result.parts = HtmlHelper.fromHtml(sb.toString());
|
|
|
|
|
|
|
|
|
|
|
|
result.html = parts.getHtml(context);
|
|
|
|
result.html = parts.getHtml(context);
|
|
|
|
result.body = HtmlHelper.fromHtml(HtmlHelper.sanitize(context, result.html));
|
|
|
|
if (result.html != null)
|
|
|
|
|
|
|
|
result.body = HtmlHelper.fromHtml(HtmlHelper.sanitize(context, result.html));
|
|
|
|
|
|
|
|
|
|
|
|
ByteArrayOutputStream bos = new ByteArrayOutputStream();
|
|
|
|
ByteArrayOutputStream bos = new ByteArrayOutputStream();
|
|
|
|
mmessage.writeTo(bos);
|
|
|
|
mmessage.writeTo(bos);
|
|
|
|