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
Add debug message
Amaury Martiny0d4b13b06706
diff --git a/src/smtp.rs b/src/smtp.rsindex 26de2510..3ca18a42 100644--- a/src/smtp.rs+++ b/src/smtp.rs@@ -78,5 +78,9 @@ pub fn email_exists(from: &str, to: &str, host: &Name, port: u16) -> Result<bool// Quit.smtp_client.close();+ match result {+ Ok(val) => debug!("Checked email on {}:{}, exists={}.", host, port, val),+ Err(_) => debug!("Cannot check email on {}:{}.", host, port),+ };result}