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
Small fixes
Amaury Martinye2b3ebd0e567
diff --git a/src/main.rs b/src/main.rsindex fe84113b..bae88289 100644--- a/src/main.rs+++ b/src/main.rs@@ -17,8 +17,8 @@ fn main() {let yaml = load_yaml!("cli.yml");let matches = App::from_yaml(yaml).get_matches();- // Calling .unwrap() is safe here because "EMAIL" is requiredlet from_email = matches.value_of("from").unwrap_or("[email protected]");+ // Calling .unwrap() is safe here because "EMAIL" is requiredlet to_email = matches.value_of("TO").unwrap();debug!("Testing email {}...", to_email);@@ -27,7 +27,7 @@ fn main() {Some(i) => i,None => {error!("{} is not a valid email.", to_email);- ::std::process::exit(1);+ process::exit(1);}};