go-pkgz / email

Email library to send simple messages
https://go-pkgz.umputun.dev/email/
MIT License
21 stars 6 forks source link

Connections pool #7

Open s0x90 opened 2 years ago

s0x90 commented 2 years ago

I think it would be useful to have reusable connections pool in case sending batch of emails.

umputun commented 2 years ago

Well, the readme directly mentions this - "This library is not intended to be used for sending a lot of massive emails with low latency requirements"

However, if anyone can submit a PR with a reasonable implementation and if this implementation won't make the library too complicated and hard to reason about - I'll accept.