async-email / async-smtp

Apache License 2.0
60 stars 13 forks source link

feat: Add ability to get SmtpStream from SmtpTransport #64

Closed amaury1093 closed 1 month ago

amaury1093 commented 1 month ago

I am the author of https://github.com/reacherhq/check-if-email-exists, and I currently use async-smtp 0.6. I would like to upgrade to 0.9, but I'm blocked on one small feature missing in this library.

The check-if-email-exists lib manually sends the EHLO, MAIL FROM, RCPT commands, but does not actually send the email. Looking at the SmtpClient, it only exposes the send() function, which does MAIL FROM, RCPT, DATA and sending. It seems like there's no way to have more granularity on the SMTP commands.

I would like to propose this small addition so that I can upgrade to 0.9 and continue using this great library without forking.

Thanks for considering.

link2xt commented 1 month ago

Thanks!

amaury1093 commented 1 month ago

Thanks! Any chance you can tag a 0.9.2?

link2xt commented 1 month ago

Just tagged and published

amaury1093 commented 1 month ago

Thanks @link2xt for your reactivity