Commit Graph
63 Commits
Author SHA1 Message Date
Amaury d67cd21001 chore: 0.11.5 2025-04-29 12:45:49 +02:00
Amaury aed8d1c136 feat: Add optional timeout on proxy 2025-04-29 12:41:41 +02:00
Amaury fb9165303e fix: Add "utilisateur inconnu" in invalid parser (#1594) 2025-04-28 22:34:18 +02:00
Amaury fa6be7867a fix: Fix version in logs 2025-03-29 21:09:32 +01:00
dependabot[bot] ffbecfccdf chore: Bump once_cell from 1.20.2 to 1.21.1 (#1574)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.20.2 to 1.21.1.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.20.2...v1.21.1)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-28 11:05:42 +01:00
Amaury 56e7838f28 revert: "Show thread ID in logs (#1579)"
This reverts commit 3388163d03.
2025-03-28 10:37:13 +01:00
Amaury 3388163d03 fix: Show thread ID in logs (#1579)
* fix: Show thread ID in logs

* 0.11.2
2025-03-27 15:27:22 +01:00
Nicolas PIGANEAU a53561e087 fix: Fixed inverted hello-name and from-email in CLI (#1565)
The CLI was not working because the call was made with hello-name an from-email inverted. This PR solves this issue.
2025-02-16 15:52:02 +01:00
Amaury eed5a1536a feat!: Allow multiple proxies (#1562)
BREAKING CHANGE:

- The `hello_name`, `from_email`, `smtp_timeout`, `retries` and `proxy` settings have been moved to inside the new `verif_method` field, which is now the centralized place to configure how each email is verified (categorized by email provider).
2025-02-11 22:57:21 +01:00
Amaury 92be54ebfe feat: Add AWS SQS support (#1554)
* add sqs

only vuild sqs

first version of terraform

move

add docs

typechange

works

wip runtime

Use arm64

fix dockerfile

use musl

add dlq

works

first time working

try again

less memory

clean up

add env vars support

send webhook

fix build

fix http

fix terraform

* format better

* add webdriver config

* ok

* fix webdriver

* beta

* add docker command
2025-01-06 22:47:07 +01:00
Amaury 14a6759d80 feat: Add misc.is_b2c field (#1553)
* remove lettre

* Add retries

* feat: Add misc.is_b2c

* Fix docker
2024-12-30 12:12:10 +01:00
Amaury b1377db2b3 fix: Improve logging, add retries for Yahoo headless, switch to rustls (#1549)
* first fixes

* Switch some logs

* fix more

* use tracing everywhere

* update deps

* Remove native-tls

* fix bugs

* Add rustls

* Fix tests

* ignoring test
2024-12-20 10:46:58 +01:00
Amaury f75e0c4540 refactor: Remove ReacherConfig, use CheckEmailInput (#1538)
* feat: Remove ReacherConfig, use CheckEmailInput

* Fixed

* Fix request

* fix build

* fic docs

* test

* remove test
2024-11-25 22:31:11 +01:00
Amaury 08522e4326 feat!: Add /v1/{check_email,bulk} endpoints with throttle&concurrency (#1537)
BREAKING CHANGE:

- In `/v0/check_email` endpoint, the `hotmail_verif_method` field has been replaced two fields: `hotmailb2b_verif_method` and `hotmailb2c_verif_method`
- All serializations of `"Smtp","Api","Headless"` have been converted to lowercase `"smtp","api","headless"`
2024-11-25 09:35:37 +01:00
Amaury b97b9ff9b9 fix(core)!: Clean up CheckEmailInput (#1531)
BREAKING CHANGE:

We switched to a more commonly-used builder pattern to create an input:
```diff
- let mut input = CheckEmailInput::new("someone@gmail.com");
- input.set_from_email("me@mycompany.com");

+ let input = CheckEmailInputBuilder::default()
+     .to_email("someone@gmail.com")
+     .from_email("me@mycompany.com")
+     .build()
+     .unwrap();

let res = check_email(input, &config).await;
```
2024-11-10 09:08:16 +01:00
Amaury bcd2dc867b refactor!: Use config-rs instead of env vars (#1530)
BREAKING CHANGE:

The main function, `check_email()`, now takes a second argument called `ReacherConfig`. This struct contains configuration such as the webdriver address to listen to for headless email verifications, or an optional Sentry configuration to send error reports to. Previously, these configurations were passed through poorly-documented environment variables; now we make them explicit. When migration, you can pass `ReacherConfig::default()` which returns sensible default values.
2024-11-10 05:33:12 +01:00
dependabot[bot] 08ee6c5603 chore: Bump tokio from 1.38.0 to 1.40.0 (#1505)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.38.0 to 1.40.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.0...tokio-1.40.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 11:17:39 +02:00
dependabot[bot] 17132e5d7e chore: Bump env_logger from 0.10.2 to 0.11.5 (#1488)
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.10.2 to 0.11.5.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.10.2...v0.11.5)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-15 17:54:54 +02:00
dependabot[bot] 97c5245c6c chore: Bump once_cell from 1.18.0 to 1.19.0 (#1420)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.18.0 to 1.19.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.18.0...v1.19.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-27 14:28:21 +01:00
dependabot[bot] 426d6ed7bc chore: Bump tokio from 1.29.1 to 1.35.1 (#1415)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.29.1 to 1.35.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.1...tokio-1.35.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-22 14:58:11 +01:00
Amaury 9f9607d354 chore!: Rename all VerifyMethod to VerifMethod 2023-12-05 12:05:36 +01:00
dependabot[bot] 3ec2b8cefc chore: Bump tokio from 1.28.2 to 1.29.1 (#1370)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.28.2 to 1.29.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.2...tokio-1.29.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 16:39:24 +01:00
Amaury 5ca4dfa5ec refactor!: Use verify method for known providers (#1366)
BREAKING CHANGE: For Hotmail, Gmail and Yahoo addresses, the `*_use_api` and `*_use_headless` parameters have been removed and replaced with a `*VerifyMethod`, an enum which can take value Api, Headless or Smtp. If using headless, pass a webdriver address to env variable RCH_WEBDRIVER_ADDR.
2023-10-25 17:39:35 +02:00
Amaury 6f0f12b8cf feat: Yahoo account recovery via headless (#1364)
BREAKING CHANGE: `input.hotmail_use_headless` is now a bool instead of a string. Pass the webdriver address as an environment variable `RCH_WEBDRIVER_ADDR` now.
2023-10-25 13:05:54 +00:00
Amaury 6fd670d137 chore: Update header date 2023-10-24 18:47:34 +02:00
dependabot[bot] d10a0d7b43 chore: Bump once_cell from 1.17.1 to 1.18.0 (#1350)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.17.1 to 1.18.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.1...v1.18.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 17:41:06 +02:00
dependabot[bot] e408a62f29 chore: Bump tokio from 1.26.0 to 1.28.2 (#1318)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.26.0 to 1.28.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.26.0...tokio-1.28.2)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 10:03:36 -07:00
dependabot[bot] 59889b1618 chore: Bump tokio from 1.25.0 to 1.26.0 (#1280)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.25.0...tokio-1.26.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 16:39:50 +01:00
Sylvain Reynaud 166dbd2cc8 feat(#289): add haveibeenpwned check (#1253) 2023-02-15 23:02:48 +01:00
dependabot[bot] 475d9efd94 chore: Bump tokio from 1.24.2 to 1.25.0 (#1264)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.24.2 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/commits/tokio-1.25.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-03 20:18:29 +01:00
Amaury 9fae593b85 fix(core): Fix MX random record selection (#1263)
* fix(core): Fix MX random record selection

* fix clippy

* Fix clippy

* Fix clippy

* fix clippy (last?)

* fix clippy
2023-02-03 20:00:19 +01:00
dependabot[bot] 1d2000388f chore: Bump tokio from 1.24.1 to 1.24.2 (#1258)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.24.1 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/commits)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 12:07:58 +01:00
dependabot[bot] a5a5124e30 chore: Bump once_cell from 1.16.0 to 1.17.0 (#1249)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 11:57:44 +01:00
dependabot[bot] 2d7d869575 chore: Bump tokio from 1.23.0 to 1.24.1 (#1252)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.23.0 to 1.24.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.23.0...tokio-1.24.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 11:57:34 +01:00
Amaury a4fe57e9ab fix(cli): Update flags default values 2023-01-09 18:34:01 +01:00
dependabot[bot] 080d405591 chore: Bump tokio from 1.22.0 to 1.23.0 (#1240)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.22.0...tokio-1.23.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-15 17:11:00 +01:00
dependabot[bot] 118ee1cb1c chore: Bump env_logger from 0.9.1 to 0.10.0 (#1235)
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.9.1...v0.10.0)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 10:13:48 +01:00
dependabot[bot] bef2ca5d50 chore: Bump tokio from 1.21.2 to 1.22.0 (#1227)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.2 to 1.22.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.2...tokio-1.22.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-21 17:11:55 +01:00
Amaury M 51cdb2e3c1 fix(core): Fix hotmail headless with authenticator 2022-11-17 23:50:53 +01:00
dependabot[bot] 554f1d5c45 chore: Bump once_cell from 1.15.0 to 1.16.0 (#1213)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-02 10:02:56 +01:00
Roger G. CoramandAmaury 5d3c49f41e feat: add Microsoft 365 HTTP API validation (#1194)
* feat: add Outlook HTTP API validation

- check the validity of Outlook/Office 365 email addresses via the
  method outlined
  [here](https://www.trustedsec.com/blog/achieving-passive-user-enumeration-with-onedrive/).
- run only via the `--outlook-use-api` flags (defaulting to `false`.)

relates #937

* fix: restrict Office 365 domain

use `.mail.protection.outlook.com.` for domains backed by Outlook/Office
365.

* fix: continue for non-definitive responses from Outlook API

if using `--outlook-use-api`, only return immediately in the event of a
positive response: negative responses are ambiguous and the process
should fall back to subsequent checks.

* fix: amend Outlook references

update references to "Microsoft 365" to make is more explicit that this
pertains to the underlying services, not Outlook addresses.

* fix: continue in the event of a ReqwestError

allow both failures in the HTTP request and 404 responses to continue.

Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2022-10-11 16:13:11 +00:00
Roger G. CoramandPsypherPunk 49c8f5c3b4 feat: additional Gmail validation (#1193)
* feat: additional Gmail validation

- check the validity of `gmail.com`/`googlemail.com` email addresses via
  the method outlined
  [here](https://blog.0day.rocks/abusing-gmail-to-get-previously-unlisted-e-mail-addresses-41544b62b2).
- run only via the `--gmail-use-api`/`gmail_use_api` flags (defaulting
  to `false`.)

relates #937

* refactor: split out HTTP client

move the `create_client` method to a separate file; have the `yahoo` and
`gmail` modules reference this.

* test: add test for Gmail HTTP API

verify Gmail HTTP API behaviour with `someone@gmail.com`, failure
indicating that the API is no longer reliable.

* fix: correct host checks for Gmail HTTP API

should check as per the MX host:

- for gmail.com or googlemail.com, this will look like
  `*.gmail-smtp-in.l.google.com.`.
- for Google Apps/Workspace domains, this will look like
  `*.aspmx.l.google.com.`.

Co-authored-by: PsypherPunk <psypherpunk+github@gmail.com>
2022-10-06 15:54:17 +02:00
Daniel Huth 6a26035327 feat(core): Add check gravatar image (#1188)
* feat(core): Add check gravatar image

* Add missing changes

* Fix compilation

* Fix tests

* Apply PR feedback

* Don't panic
2022-10-04 23:11:21 +02:00
dependabot[bot] fafc741bfd chore: Bump tokio from 1.21.0 to 1.21.2 (#1186)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.0 to 1.21.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.0...tokio-1.21.2)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-04 13:21:43 +02:00
dependabot[bot] 6781ab9427 chore: Bump once_cell from 1.14.0 to 1.15.0 (#1183)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.14.0...v1.15.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 12:15:14 +02:00
dependabot[bot] 1eb17061d4 chore: Bump once_cell from 1.13.1 to 1.14.0 (#1173)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.13.1 to 1.14.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.13.1...v1.14.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-09 21:19:23 +02:00
dependabot[bot] 823af574b7 chore: Bump tokio from 1.20.1 to 1.21.0 (#1170)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.20.1 to 1.21.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.20.1...tokio-1.21.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 19:58:52 +02:00
Amaury 7517ed98ba feat(core): Add Hotmail checks via headless password recovery (#1165)
* feat(core): Add Hotmail checks via headless password recovery

* add to backend too

* Fix dockerfile

* bump to 0.9.1
2022-08-29 22:51:19 +02:00
Amaury 9b6cafcb6f chore: Update to v0.9.0 (#1153) 2022-08-15 13:37:16 +02:00
Amaury ce1ba53468 feat: Revert back to check_email input with single email (#1150)
BREAKING CHANGE:

The library's main function `check_email`'s argument `CheckEmailInput` nows takes a single `to_email` field, instead of a `to_emails: Vec<String>`

```diff
pub struct CheckEmailInput {
- pub to_emails: Vec<String>,
+ pub to_email: String,
  // --snip--
}
```

This effectively makes the public API more similar to the v0.7.* series. I'm still thinking about how to best verify multiple emails in one SMTP connection, but it most likely will be a new function with a different API. Follow [issue #65](https://github.com/reacherhq/check-if-email-exists/issues/65) for more info.
2022-08-15 13:04:09 +02:00