Hacker News new | ask | show | jobs
by ranger_danger 17 days ago
> Except that loop can take ten seconds, and it's running inside the checkout request

I just send emails through a local MTA, that way it's always accepted immediately, and it takes care of any external sending/retries in the background, separately from my application.

1 comments

Yeah you ended up adding your own background, retries and other logic which are not core to your business. Same thing you'll do for other channels too. That's the whole point of article, it's hard and easy to get wrong