Skip to content

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

feat: Update parser.rs (#1345)

Dmitry8269f22f7321
diff --git a/core/src/smtp/parser.rs b/core/src/smtp/parser.rs
index 7fc47526..9b9549f1 100644
--- a/core/src/smtp/parser.rs
+++ b/core/src/smtp/parser.rs
@@ -95,6 +95,10 @@ pub fn is_invalid(e: &str, email: &EmailAddress) -> bool {
|| e.contains("address error")
// E-mail address is not handled by this system (on @kaimayfair.co.uk)
|| e.contains("address is not handled")
+ // permanent: 5.1.1 recipient is not exist (on @sim.com)
+ || e.contains("recipient is not exist")
+ // permanent: 5.1.1 <EMAIL> Recipient not found. (on @4polymer.com)
+ || e.contains("recipient not found")
}
/// Check that the mailbox has a full inbox.