Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.
Rust emailemail-validationemail-validation-apiemail-verificationemail-verification-apiemail-verifierhacktoberfest
Fix comment
Amaury Martinye76bcc3b094f
diff --git a/src/smtp.rs b/src/smtp.rsindex 32d79512..b7c1e313 100644--- a/src/smtp.rs+++ b/src/smtp.rs@@ -66,7 +66,7 @@ pub fn email_exists(from_email: &str, to_email: &str, host: &Name, port: u16) ->)) {Ok(response) => match response.first_line() {Some(message) => {- // 250 2.1.0 Sender e-mail address ok.+ // 250 2.1.5 Recipient e-mail address ok.if message.contains("2.1.5") {Some(true)} else {