Best Practice for Replacing Bamboo's deliver_later and deliver_later! with Swoosh

I’m currently transitioning from Bamboo to Swoosh in my Elixir project for handling email deliveries. In Bamboo, I was using the deliver_later and deliver_later! functions to send emails asynchronously. Now that I’m switching to Swoosh, I’m looking for guidance on the best way to replicate this functionality.

Could someone please provide advice on:

  1. How to properly replace Bamboo’s deliver_later and deliver_later! with equivalent functionality in Swoosh.
  2. Any specific configurations or setups required to ensure asynchronous email delivery works smoothly with Swoosh.
  3. Best practices or tips for making this transition as seamless as possible.

Thanks in advance for your insights!

Having in mind what the official Swoosh recommendations say then I’d think it’s best if you just use Oban for this.

3 Likes