Skip to content

Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.

feat(core): Fix disabled accts on hanmail.net (#1339)

Amaury90393c8dda39
diff --git a/core/src/smtp/parser.rs b/core/src/smtp/parser.rs
index febbb2db..7fc47526 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 <EMAIL> cannot be delivered. This account has been disabled or discontinued
|| e.contains("discontinued")
+ //550 5.2.1 RACT MY.IP: Mailbox is inactive: <[email protected]><CRLF> (on hanmail.net)
+ || e.contains("inactive")
}
/// Check if the error is an IO "incomplete" error.