From 1b4d1ff86d35928245d82ca385b63c735d9d7964 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 7 Aug 2020 11:01:12 +0200 Subject: [PATCH] Display attached messages inline --- .../eu/faircode/email/AdapterMessage.java | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index 65706dd0a8..e92b9c825d 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -149,6 +149,7 @@ import org.jsoup.nodes.Element; import java.io.BufferedOutputStream; import java.io.File; +import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; @@ -172,12 +173,15 @@ import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Objects; +import java.util.Properties; import java.util.Set; import java.util.concurrent.Executor; import java.util.concurrent.ExecutorService; import javax.mail.Address; +import javax.mail.Session; import javax.mail.internet.InternetAddress; +import javax.mail.internet.MimeMessage; import biweekly.Biweekly; import biweekly.ICalendar; @@ -1962,6 +1966,42 @@ public class AdapterMessage extends RecyclerView.Adapter