From 743a8111b4831ee19e7ac887c39a8da2775acd4c Mon Sep 17 00:00:00 2001 From: Amaury <1293565+amaurym@users.noreply.github.com> Date: Mon, 9 Jan 2023 18:05:46 +0100 Subject: [PATCH] feat(core): Update default MAIL-FROM and HELO --- README.md | 4 ++-- core/src/util/input_output.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1375bbf52..e3646fcc4 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ In your own Rust project, you can add `check-if-email-exists` in your `Cargo.tom ```toml [dependencies] -check-if-email-exists = "0.8" +check-if-email-exists = "0.9" ``` And use it in your code as follows: @@ -147,7 +147,7 @@ The output will be a JSON with the below format, the fields should be self-expla | ✅ | **Full inbox** | Is the inbox of this mailbox full? | `smtp.has_full_inbox` | | ✅ | **Catch-all address** | Is this email address a [catch-all](https://debounce.io/blog/help/what-is-a-catch-all-or-accept-all/) address? | `smtp.is_catch_all` | | ✅ | **Role account validation** | Is the email address a well-known role account? | `misc.is_role_account` | -| ✅ | **Gravatar Url** | The url of the [Gravatar](https://gravatar.com/) email address profile picture | `misc.gravatar_url` | +| ✅ | **Gravatar Url** | The url of the [Gravatar](https://gravatar.com/) email address profile picture | `misc.gravatar_url` | | 🔜 | **Free email provider check** | Is the email address bound to a known free email provider? | [Issue #89](https://github.com/reacherhq/check-if-email-exists/issues/89) | | 🔜 | **Syntax validation, provider-specific** | According to the syntactic rules of the target mail provider, is the address syntactically valid? | [Issue #90](https://github.com/reacherhq/check-if-email-exists/issues/90) | | 🔜 | **Honeypot detection** | Does email address under test hide a [honeypot](https://en.wikipedia.org/wiki/Spamtrap)? | [Issue #91](https://github.com/reacherhq/check-if-email-exists/issues/91) | diff --git a/core/src/util/input_output.rs b/core/src/util/input_output.rs index 1686d21ad..c0deaed34 100644 --- a/core/src/util/input_output.rs +++ b/core/src/util/input_output.rs @@ -139,8 +139,8 @@ impl Default for CheckEmailInput { fn default() -> Self { CheckEmailInput { to_email: "".into(), - from_email: "user@example.org".into(), - hello_name: "example.org".into(), + from_email: "reacher.email@gmail.com".into(), // Unused, owned by Reacher + hello_name: "gmail.com".into(), #[cfg(feature = "headless")] hotmail_use_headless: None, proxy: None,