From 2e7eefbf026ed8c3efbcc847dbbca13e61ad048e Mon Sep 17 00:00:00 2001 From: Amaury <1293565+amaury1729@users.noreply.github.com> Date: Sun, 8 Oct 2023 16:34:35 +0200 Subject: [PATCH] feat(core): Fix disabled accts on hanmail.net (#1339) --- core/src/smtp/parser.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/smtp/parser.rs b/core/src/smtp/parser.rs index febbb2dbe..7fc475261 100644 --- a/core/src/smtp/parser.rs +++ b/core/src/smtp/parser.rs @@ -116,6 +116,8 @@ pub fn is_disabled_account(e: &str) -> bool { e.contains("disabled") // 554 delivery error: Sorry your message to cannot be delivered. This account has been disabled or discontinued || e.contains("discontinued") + //550 5.2.1 RACT MY.IP: Mailbox is inactive: (on hanmail.net) + || e.contains("inactive") } /// Check if the error is an IO "incomplete" error.