Skip to content

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

Rename

Amaury Martinydbfd710d7bfe
diff --git a/src/main.rs b/src/main.rs
index 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.rs
similarity index 100%
rename from src/with_lettre.rs
rename to src/smtp.rs