piknik icon indicating copy to clipboard operation
piknik copied to clipboard

Extract SMTP implementation to a separate crate

Open amousset opened this issue 3 years ago • 2 comments

We currently expose a low-level SMTP interface in lettre. It may make more sense to move it to a separate crate and remove it from lettre public API.

If so, we could re-use the smtp crate name.

amousset avatar Feb 04 '21 12:02 amousset

Sounds like an idea we should definitely consider. Not only for SMTP but also maybe for the email builder. Idk sometimes it feels like a single crate is doing too much. Let's think more about it in the coming months.

paolobarbolini avatar Feb 04 '21 18:02 paolobarbolini

This would be great, hyper (an http library) went through a similar process where they put protocol specific types in the http crate.

malobre avatar Aug 29 '21 19:08 malobre