reacherhq / check-if-email-exists

Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.
https://reacher.email
Other
4.23k stars 327 forks source link

Port 587 and Gmail API verification not working #1412

Open kmswo146 opened 6 months ago

kmswo146 commented 6 months ago

Email to check

No response

From where did you run check-if-email-exists?

No response

Version of check-if-email-exists (if running it yourself)

No response

What happened?

Hi,

First of all, thank you for this awesome work.

I have a question regarding using the http backend. This is my request body: json={ "to_email": email, "from_email": "my@my-server.com", # Optional, adjust as needed "hello_name": "my-server.com", # Optional, adjust as needed "smtp_port": 587, # Optional, adjust as needed "smtp_security": "Opportunistic", "yahoo_verify_method": "Api", "gmail_verify_method": "Api", "hotmail_verify_method": "Api" }

my server doesn't have port 25 open. I'm hoping port 587 would work, but it doesnt. But still, I have added the parameters to use API for gmail, yahoo and hotmail, but it seems the backend is still trying to verify gmail via SMTP:

Response: {"input":"justintyme83@gmail.com","is_reachable":"unknown","misc":{"is_disposable":false,"is_role_account":false},"mx":{"accepts_mail":true,"records":["alt1.gmail-smtp-in.l.google.com.","alt2.gmail-smtp-in.l.google.com.","alt4.gmail-smtp-in.l.google.com.","gmail-smtp-in.l.google.com.","alt3.gmail-smtp-in.l.google.com."]},"smtp":{"error":{"type":"TimeoutError","message":"future has timed out"}},"syntax":{"address":"justintyme83@gmail.com","domain":"gmail.com","is_valid_syntax":true,"username":"justintyme83"}}

Any help is appreciated, thanks.

Relevant log output

No response

ErgjanJaha commented 4 months ago

Gmail API has stopped working, it no longer is reliable. My guess is google has fixed this! And you should not validate on port 587, use 25