kodus / mail

Simple, modern library of services for sending UTF-8 e-mail
38 stars 5 forks source link

Package structure #6

Closed mindplay-dk closed 6 years ago

mindplay-dk commented 7 years ago

Prior to 1.0, divide the package into two packages:

The SMTP Mail Service implementation moves to kodus/mail-smtp.

The Message model, Mail Service interface, Passive Mail Service and PSR Logging decorator remain in kodus/mail.

TODO: where should the Writer and MIME Writer classes reside? (in a separate package, in the SMTP package, or in the Mail package?)

mindplay-dk commented 6 years ago

Won't fix: the SMTP components are logically separate from the core components, and the SMTP components have no external dependencies - the SMTP component is most likely what any consumer is looking for, so there's no reason not to ship this package with the SMTP implementation built-in.