brightball

brightball

Elixir email libraries - Bamboo vs Swoosh?

What are everyone’s thoughts on these two email libraries? Quality features? Pain points? Speed / ram usage / are they using IO lists?

Both seem to enjoy a decent level of popularity.

First 10 of 14 Posts! Switch mode

AstonJ

AstonJ

Just by looking at the descriptions Swoosh comes with a couple of nice features - SMTP and preview in browser.

Looks like Phoenix uses Bamboo: http://www.phoenixframework.org/docs/sending-email

With Rails I would just set the delivery method to use sendmail and it just works on my server - can we do this with Phoenix?

ChaseGilliam

ChaseGilliam

For waht its worth, Bamboo doesn’t do attachments at the moment.

martijn

martijn

Bamboo has a pretty nice API and comes with a nice SentEmailViewerPlug which allows you to view sent e-mails in the browser during development. It’s kind of silly that they don’t include SMTP in the default set of adapters, though.

outlog

outlog

mailman also deserves mentioning..

and even phoenix_mjml for mjml templating phoenix_mjml | Hex

haven’t done any emails yet with phoenix so no experience..

brightball

brightball

Mjml looks interesting. Hadn’t heard of that.

ChaseGilliam

ChaseGilliam

I use mailman, but you need to use this fork GitHub - benwilson512/mailman: Mailman provides a clean way of defining mailers in your Elixir applications · GitHub at the moment if you want to use newer versions of Elixir

benwilson512

benwilson512

Author of Craft GraphQL APIs in Elixir with Absinthe

Please note that this fork is 100% for my own usage, it is not intended to be a community wide fork. If it works for you, great, but I’m not supporting a community fork here even a little.

ChaseGilliam

ChaseGilliam

Ahh yeah, I should have included that caveat. I’m looking at Swoosh to see if it meets my needs. If it doesn’t, I’m considering forking Mailman myself. In the meantime I’m using your fork @benwilson512, no support suspected.

silverdr

silverdr

And for what it’s worth today it seems no longer to be the case: https://hexdocs.pm/bamboo/Bamboo.Attachment.html

ggarciajr

ggarciajr

Any thoughts on swoosh vs bamboo nowadays?

Last Post!

felix-starman

felix-starman

Bamboo doesn’t support the new layouts/format approach yet so you can’t as easily put your template next to your logic.

They both can do async and don’t prescribe anything, although I like Swoosh’s approach a bit better.

We use Bamboo currently. We might switch eventually but for now it’s fine.

For new stuff I’ve just stuck with Swoosh, especially since the generators already have it. Biggest killer though has been the mjml library. It makes it all much easier

Where Next?

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2976 91332 914
New
f0rest8
Hi everyone :waving_hand: Posting here to showcase and announce that Metamorphic is now officially live on a public-facing domain at htt...
New
byu
@chrismccord : I just saw the Extract AGENTS.md from Phoenix.new into phx.new generator commit to the phoenix project. My initial shotgu...
New
arcanemachine
I was working on an Ecto migration and I needed a timestamp. So, for the nth time, I looked up the different data types for timestamps, a...
New
AstonJ
Just a general thread to post chat/news/info relating to AI/ML stuff that may be relevant for Nx now or in the future. Got anything to sh...
New
type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
akoutmos
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New
zachdaniel
Introducing AshStorage! Attachment and file management that slots directly into your resources :smiling_face_with_sunglasses: I had hope...
New

We're in Beta

About us Mission Statement