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
Rename
Amaury Martinydbfd710d7bfe
diff --git a/src/main.rs b/src/main.rsindex d03416dc..c15f2bc6 100644--- a/src/main.rs+++ b/src/main.rs@@ -14,7 +14,7 @@ use rayon::prelude::*;use std::process;mod mx_hosts;-mod with_lettre;+mod smtp;fn main() {env_logger::init();@@ -51,7 +51,7 @@ fn main() {let found = combinations.par_iter() // Parallelize the find_any- .find_any(|(host, port)| with_lettre::email_exists(from_email, to_email, host, *port))+ .find_any(|(host, port)| smtp::email_exists(from_email, to_email, host, *port)).is_some();println!("{}", found);diff --git a/src/with_lettre.rs b/src/smtp.rssimilarity index 100%rename from src/with_lettre.rsrename to src/smtp.rs