dnstwist icon indicating copy to clipboard operation
dnstwist copied to clipboard

Check mx_spy without sending mail

Open gquittet opened this issue 9 months ago • 9 comments

Hello @elceef 👋

I saw that you are sending an email to verify the mail domain.

You can use ehlo and helo method directly to make this verification without sending any email.

As you can read here: https://docs.python.org/3/library/smtplib.html#smtplib.SMTP.sendmail the sendmail method you are using call these 2 methods to make the check before sending the mail.

I compare before/after the change and the result is the same. I can provide output if needed.

gquittet avatar May 23 '24 16:05 gquittet