3 ms·
It’s not. One thing is sending batches of transactional mail to thousands of recipients in a production web application running on a bunch of replicated contain
by 9dev 2y ago
It’s not. One thing is sending batches of transactional mail to thousands of recipients in a production web application running on a bunch of replicated containers on ephemeral machines, the other is proof that SMTP theoretically works in your programming language.
- desumeku 2y agoIt does not take more than 10 lines of code to launch a goroutine (or two, or more, due to how easy worker pools are in Go) that receives email requests and sends them in batches.
- 9dev 2y agoAnd some more to add retries. And then another few to handle attachments. And just some more to generate previews. And multipart messages. And testing. And just like that, you spent a whole lot of time to reinvent something frameworks like Laravel include out of the box, right now. And did I mention it is documented and any other developer familiar with the framework can immediately use, without having to waste time reading library code?
- desumeku 2y ago"A little copying is better than a little dependency."