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(cli): Update flags default values
Amaurya4fe57e9ab89
diff --git a/cli/src/main.rs b/cli/src/main.rsindex b4890d5d..4a28835a 100644--- a/cli/src/main.rs+++ b/cli/src/main.rs@@ -23,11 +23,11 @@ use once_cell::sync::Lazy;#[clap(version, about)]pub struct Cli {/// The email to use in the `MAIL FROM:` SMTP command.- #[clap(long, env, default_value = "[email protected]")]+ #[clap(long, env, default_value = "[email protected]")]pub from_email: String,/// The name to use in the `EHLO:` SMTP command.- #[clap(long, env, default_value = "localhost")]+ #[clap(long, env, default_value = "gmail.com")]pub hello_name: String,/// Use the specified SOCKS5 proxy host to perform email verification.diff --git a/core/src/util/input_output.rs b/core/src/util/input_output.rsindex c0deaed3..5158c12b 100644--- a/core/src/util/input_output.rs+++ b/core/src/util/input_output.rs@@ -78,11 +78,12 @@ pub struct CheckEmailInput {pub to_email: String,/// Email to use in the `MAIL FROM:` SMTP command.///- /// Defaults to "[email protected]".+ /// Defaults to "[email protected]", which is an unused addressed+ /// owned by Reacher.pub from_email: String,/// Name to use in the `EHLO:` SMTP command.///- /// Defaults to "localhost" (note: "localhost" is not a FQDN).+ /// Defaults to "gmail.com" (note: "localhost" is not a FQDN).pub hello_name: String,/// Perform the email verification via the specified SOCK5 proxy. The usage of a/// proxy is optional.