async-email / async-smtp

Apache License 2.0
60 stars 12 forks source link

Remove non-SMTP transports and connection setup code #57

Closed link2xt closed 1 year ago

link2xt commented 1 year ago

Remove connection setup and all the "transports" except SMTP.

Now the user is responsible for providing a stream with TLS, read and write timeouts, buffering, SOCKS5 etc.

This makes it possible to have proper read and write timeouts instead of per-command timeouts, use alternative TLS implementations such as Rustls and use SMTP over other proxies, such as HTTP CONNECT, without modifying the library.