From d56cee5fc1f5757cce7b720119a719feccb5426d Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 14 Jan 2023 14:34:21 +0100 Subject: [PATCH] Skip EXISTS for POP3 --- app/src/main/java/eu/faircode/email/ServiceSend.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ServiceSend.java b/app/src/main/java/eu/faircode/email/ServiceSend.java index 3551ec7d84..7d05f69fcf 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSend.java +++ b/app/src/main/java/eu/faircode/email/ServiceSend.java @@ -858,7 +858,10 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar // Message could have been deleted EntityMessage orphan = db.message().getMessage(sid); if (orphan != null) - EntityOperation.queue(this, orphan, EntityOperation.EXISTS); + if (account == null || account.protocol == EntityAccount.TYPE_IMAP) + EntityOperation.queue(this, orphan, EntityOperation.EXISTS); + else if (sent != null) + EntityContact.received(this, account, sent, message); db.setTransactionSuccessful(); } finally {