diff --git a/app/src/main/java/eu/faircode/email/ServiceSend.java b/app/src/main/java/eu/faircode/email/ServiceSend.java index 6a9a4174e9..0daaaf3f89 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSend.java +++ b/app/src/main/java/eu/faircode/email/ServiceSend.java @@ -391,6 +391,8 @@ public class ServiceSend extends LifecycleService { NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); nm.cancel("send", message.identity.intValue()); } catch (MessagingException ex) { + // Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 554 Refused. Sending to remote addresses (relaying) is not allowed. +/* if (ex instanceof SendFailedException) { SendFailedException sfe = (SendFailedException) ex; @@ -414,7 +416,7 @@ public class ServiceSend extends LifecycleService { sfe.getValidUnsentAddresses(), sfe.getInvalidAddresses()); } - +*/ db.identity().setIdentityError(ident.id, Helper.formatThrowable(ex)); EntityLog.log(this, ident.name + " last attempt: " + new Date(message.last_attempt));