From 8b2df6f9d11e693562d6625e9d3a6707e25fa957 Mon Sep 17 00:00:00 2001 From: Amaury <1293565+amaury1729@users.noreply.github.com> Date: Sun, 8 Oct 2023 16:25:00 +0200 Subject: [PATCH] feat(core): Fix disabled accts on hanmail.net --- 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.