sharsil / mailcat

Find existing email addresses by nickname using API/SMTP checking methods without user notification. Please, don't hesitate to improve cat's job! 🐱🔎 📬
Apache License 2.0
565 stars 77 forks source link

fix: resolve problem with aiosmtplib #31

Closed P3run closed 1 year ago

P3run commented 1 year ago

Resolves: https://github.com/sharsil/mailcat/issues/26 https://github.com/sharsil/mailcat/issues/29

soxoj commented 1 year ago

Hey, @P3run, I've got questions about similar problems, but don't have too much time to dive into the root cause. Could you describe a little what the problem is? Is it incompatibility between aiosmtplib of different Python versions? Should we support both?

P3run commented 1 year ago

I got the same errors as described in the mentioned issues. I assumed that at some point (I don't know in which version) the aiosmtplib has been changed so I used the SMTP method instead of ESMTP. I had to turn off the certificate validation because I was getting errors but after all these changes the code seemed to be fixed. I tested it on my accounts and it worked fine.

soxoj commented 1 year ago

Got it. Looks like esmtp methods were deprecated in the new major version of the library. Big thanks for the your fix!