async-email / async-smtp

Apache License 2.0
60 stars 13 forks source link

feat: add SmtpClient::command #18

Closed amaury1093 closed 4 years ago

amaury1093 commented 4 years ago

fixes #17

amaury1093 commented 4 years ago

Hey @dignifiedquire, any way we can have this PR merged?

If this solution doesn't work for you, I can also propose to make the inner client public:

https://github.com/async-email/async-smtp/blob/b1f9cde421caf4bb43da9939e58863c3a18a1737/src/smtp/smtp_client.rs#L222

i.e. add a pub on this line, which I think would work too.