# \#bamboo

**URL:** https://forum.elixirforum.com/tag/bamboo/1580.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Force Bamboo.email to create email not using "multipart/alternative" mime-type](https://forum.elixirforum.com/t/force-bamboo-email-to-create-email-not-using-multipart-alternative-mime-type/74402)

<div class="topic-metadata">

**Author:** [@DougReeder](https://forum.elixirforum.com/u/DougReeder)\
**Replies:** 0\
**Last updated:** [February 23, 2026, 6:42pm UTC](https://forum.elixirforum.com/t/force-bamboo-email-to-create-email-not-using-multipart-alternative-mime-type/74402 "2026-02-23T18:42:56Z")

</div>

By default, Bamboo.Email, when you only add a text\_body/2, appears to create emails with the following structure: Content-Type: multipart/mixed; boundary="----=\_Part\_301556352\_2177739793.3928492858" ------=\_Part\_301556…

---

## [Bamboo returns :closed error](https://forum.elixirforum.com/t/bamboo-returns-closed-error/71208)

<div class="topic-metadata">

**Author:** [@roflbobl](https://forum.elixirforum.com/u/roflbobl)\
**Replies:** 2\
**Last updated:** [June 10, 2025, 2:10pm UTC](https://forum.elixirforum.com/t/bamboo-returns-closed-error/71208 "2025-06-10T14:10:40Z")

</div>

I have a production system, that queues emails in Oban. It sends the emails with Bamboo.Mailer.deliver\_now!/4, but it fails with the error (Bamboo.ApiError) :closed a couple of times, until it succeeds, after 2-5 tries. …

---

## [How to send emails with Swoosh and Gmail API?](https://forum.elixirforum.com/t/how-to-send-emails-with-swoosh-and-gmail-api/69973)

<div class="topic-metadata">

**Author:** [@odeac](https://forum.elixirforum.com/u/odeac)\
**Replies:** 8\
**Last updated:** [March 19, 2025, 12:17pm UTC](https://forum.elixirforum.com/t/how-to-send-emails-with-swoosh-and-gmail-api/69973 "2025-03-19T12:17:50Z")

</div>

I’m not that experienced with Elixir and I’m totally new to Gmail API. Also the post is pretty long but I tried to give as much info as possible. My situation is the following: I have an Elixir application (MyFirstApp),…

---

## [Best Practice for Replacing Bamboo's deliver\_later and deliver\_later! with Swoosh](https://forum.elixirforum.com/t/best-practice-for-replacing-bamboos-deliver-later-and-deliver-later-with-swoosh/65703)

<div class="topic-metadata">

**Author:** [@Kluzko](https://forum.elixirforum.com/u/Kluzko)\
**Replies:** 1\
**Last updated:** [August 27, 2024, 12:11pm UTC](https://forum.elixirforum.com/t/best-practice-for-replacing-bamboos-deliver-later-and-deliver-later-with-swoosh/65703 "2024-08-27T12:11:42Z")

</div>

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 swit…

---

## [Elixir email libraries - Bamboo vs Swoosh?](https://forum.elixirforum.com/t/elixir-email-libraries-bamboo-vs-swoosh/4752)

<div class="topic-metadata">

**Author:** [@brightball](https://forum.elixirforum.com/u/brightball)\
**Replies:** 14\
**Last updated:** [January 30, 2024, 5:50am UTC](https://forum.elixirforum.com/t/elixir-email-libraries-bamboo-vs-swoosh/4752 "2024-01-30T05:50:41Z")

</div>

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.

---

## [Compilation error when re-ordering \`use Bamboo.Test\`](https://forum.elixirforum.com/t/compilation-error-when-re-ordering-use-bamboo-test/51487)

<div class="topic-metadata">

**Author:** [@moonlunatik](https://forum.elixirforum.com/u/moonlunatik)\
**Replies:** 1\
**Last updated:** [November 1, 2022, 5:30pm UTC](https://forum.elixirforum.com/t/compilation-error-when-re-ordering-use-bamboo-test/51487 "2022-11-01T17:30:43Z")

</div>

I have a test file that tests some of the emails we send in our app. We had the following use lines: use MyApp.DataCase, async: true use Bamboo.Test We then decided to introduce a credo rule where we order our uses and…

---

## [Intermittent Bamboo Auth Failure](https://forum.elixirforum.com/t/intermittent-bamboo-auth-failure/40785)

<div class="topic-metadata">

**Author:** [@travisf](https://forum.elixirforum.com/u/travisf)\
**Replies:** 9\
**Last updated:** [September 7, 2022, 10:14pm UTC](https://forum.elixirforum.com/t/intermittent-bamboo-auth-failure/40785 "2022-09-07T22:14:54Z")

</div>

I have a web app that handles a fair amount of traffic and sends a good deal of transactional emails, likely around 1000 a day. About 99% of the time there are no issues but about three months ago we started having an is…

---

## [Bamboo SMTP error - (Bamboo.SMTPAdapter.SMTPError) There was a problem sending the email through SMTP](https://forum.elixirforum.com/t/bamboo-smtp-error-bamboo-smtpadapter-smtperror-there-was-a-problem-sending-the-email-through-smtp/48430)

<div class="topic-metadata">

**Author:** [@Alia](https://forum.elixirforum.com/u/Alia)\
**Replies:** 19\
**Last updated:** [June 17, 2022, 10:27pm UTC](https://forum.elixirforum.com/t/bamboo-smtp-error-bamboo-smtpadapter-smtperror-there-was-a-problem-sending-the-email-through-smtp/48430 "2022-06-17T22:27:34Z")

</div>

Can anyone help why i am getting this error? (exit) an exception was raised: \*\* (Bamboo.SMTPAdapter.SMTPError) There was a problem sending the email through SMTP. The error is :no\_more\_hosts More detail below: {…

---

## [Unable to download email attachment via Bamboo SentEmailViewerPlug](https://forum.elixirforum.com/t/unable-to-download-email-attachment-via-bamboo-sentemailviewerplug/47575)

<div class="topic-metadata">

**Author:** [@asnyder002](https://forum.elixirforum.com/u/asnyder002)\
**Replies:** 0\
**Last updated:** [May 4, 2022, 6:35pm UTC](https://forum.elixirforum.com/t/unable-to-download-email-attachment-via-bamboo-sentemailviewerplug/47575 "2022-05-04T18:35:05Z")

</div>

I’m sending out emails with .zip file(binary) attachments but I am unable to download the attachment. I have the local adapter set up. config :Test, Test.Mailer, adapter: Bamboo.LocalAdapter, open\_email\_in\_browser\_…

---

## [Bamboo SMTP with SES failed Authenfication on production](https://forum.elixirforum.com/t/bamboo-smtp-with-ses-failed-authenfication-on-production/47092)

<div class="topic-metadata">

**Author:** [@glor](https://forum.elixirforum.com/u/glor)\
**Replies:** 0\
**Last updated:** [April 7, 2022, 1:51pm UTC](https://forum.elixirforum.com/t/bamboo-smtp-with-ses-failed-authenfication-on-production/47092 "2022-04-07T13:51:40Z")

</div>

Hey guys, I’m having issues with email authorization in production environment, in development environment it works normally and the email is send. The environment variables are correct. This is the error that appears …

---

## [Bamboo issue - no emails sent error](https://forum.elixirforum.com/t/bamboo-issue-no-emails-sent-error/46952)

<div class="topic-metadata">

**Author:** [@MatOsinski](https://forum.elixirforum.com/u/MatOsinski)\
**Replies:** 12\
**Last updated:** [April 1, 2022, 10:11am UTC](https://forum.elixirforum.com/t/bamboo-issue-no-emails-sent-error/46952 "2022-04-01T10:11:45Z")

</div>

Hi guys! I have created a system, which will be sent info to the user’s mail (everything locally). However, I am getting this type of error Path which I am using http://localhost:4000/dev/mailbox I have added this t…

---

## [Bamboo SentEmailViewerPlug undefined](https://forum.elixirforum.com/t/bamboo-sentemailviewerplug-undefined/46959)

<div class="topic-metadata">

**Author:** [@MatOsinski](https://forum.elixirforum.com/u/MatOsinski)\
**Replies:** 4\
**Last updated:** [March 31, 2022, 9:08pm UTC](https://forum.elixirforum.com/t/bamboo-sentemailviewerplug-undefined/46959 "2022-03-31T21:08:01Z")

</div>

I do have an issue with mentioned function. This is the error from browser: function Bamboo.SentEmailViewerPlug.init/1 is undefined (module Bamboo.SentEmailViewerPlug is not available) And this is from console : \[erro…

---

## [Bamboo Preview Send Grid emails](https://forum.elixirforum.com/t/bamboo-preview-send-grid-emails/46034)

<div class="topic-metadata">

**Author:** [@pCosta99](https://forum.elixirforum.com/u/pCosta99)\
**Replies:** 2\
**Last updated:** [February 26, 2022, 11:21pm UTC](https://forum.elixirforum.com/t/bamboo-preview-send-grid-emails/46034 "2022-02-26T23:21:29Z")

</div>

As the title mentions, the Bamboo.SentEmailViewerPlug won’t work when using SendGrid and dynamic templates. There are 2 open issues regarding that on Bamboo github (SentEmailViewerPlug shows empty emails with Dynamic Te…

---

## [Issue with Bamboo Phoenix put\_text\_layout/put\_layout API after upgrading to Phoenix 1.6](https://forum.elixirforum.com/t/issue-with-bamboo-phoenix-put-text-layout-put-layout-api-after-upgrading-to-phoenix-1-6/42682)

<div class="topic-metadata">

**Author:** [@maz](https://forum.elixirforum.com/u/maz)\
**Replies:** 6\
**Last updated:** [September 29, 2021, 1:16am UTC](https://forum.elixirforum.com/t/issue-with-bamboo-phoenix-put-text-layout-put-layout-api-after-upgrading-to-phoenix-1-6/42682 "2021-09-29T01:16:19Z")

</div>

Noticed emails are not being sent while testing phx 1.6 update. Oban is reporting this error(truncated). It dies in (phoenix\_view 1.0.0) lib/phoenix/view.ex:442: Phoenix.View.render\_to\_string/3 Oban: {"{\\"at\\": \\"2021…

---

## [Bamboo view sent email](https://forum.elixirforum.com/t/bamboo-view-sent-email/42276)

<div class="topic-metadata">

**Author:** [@grangerelixx](https://forum.elixirforum.com/u/grangerelixx)\
**Replies:** 1\
**Last updated:** [September 11, 2021, 1:39am UTC](https://forum.elixirforum.com/t/bamboo-view-sent-email/42276 "2021-09-11T01:39:26Z")

</div>

I am using Bamboo emailer to send emails from my application. I wanted to check if its working the right way so in my router, I inserted the following piece of code if Mix.env == :dev do forward "/sent\_emails", Bamb…

---

## [Questions Sending Emails via Bamboo](https://forum.elixirforum.com/t/questions-sending-emails-via-bamboo/41364)

<div class="topic-metadata">

**Author:** [@ScriptyScott](https://forum.elixirforum.com/u/ScriptyScott)\
**Replies:** 2\
**Last updated:** [July 31, 2021, 2:10pm UTC](https://forum.elixirforum.com/t/questions-sending-emails-via-bamboo/41364 "2021-07-31T14:10:24Z")

</div>

Hey Folks, Recently I added email functionality to my phoenix app. I used these two tutorials as reference: Sending Email with SMTP How to Send Emails From Phoenix in 4 Easy Steps And this doc: Bamboo.Phoenix Betwe…

---

## [Bamboo Rendering Error: Expects template to be a string, got: {:safe, \[bunch\_of\_html\]}](https://forum.elixirforum.com/t/bamboo-rendering-error-expects-template-to-be-a-string-got-safe-bunch-of-html/41338)

<div class="topic-metadata">

**Author:** [@fireside68](https://forum.elixirforum.com/u/fireside68)\
**Replies:** 1\
**Last updated:** [July 29, 2021, 5:48pm UTC](https://forum.elixirforum.com/t/bamboo-rendering-error-expects-template-to-be-a-string-got-safe-bunch-of-html/41338 "2021-07-29T17:48:38Z")

</div>

In attempting to render an email, Bamboo is throwing me errors: \[error\] #PID\<0.1751.0\> running UnaffiliatedStudiosWeb.Endpoint (connection #PID\<0.1741.0\>, stream id 3) terminated Server: localhost:4000 (http) Request: P…

---

## [Bamboo + Mailgun: fails in production with response Forbidden](https://forum.elixirforum.com/t/bamboo-mailgun-fails-in-production-with-response-forbidden/41128)

<div class="topic-metadata">

**Author:** [@IVR](https://forum.elixirforum.com/u/IVR)\
**Replies:** 12\
**Last updated:** [July 20, 2021, 9:03am UTC](https://forum.elixirforum.com/t/bamboo-mailgun-fails-in-production-with-response-forbidden/41128 "2021-07-20T09:03:08Z")

</div>

Hi all, I’m having an extremely unpleasant time with Bamboo/Mailgun in production. I’ve tested the MailgunAdapter for Bamboo from my local machine and everything works well, however in production I’m getting this error: …

---

## [Bamboo + Mailgun: not using CSS](https://forum.elixirforum.com/t/bamboo-mailgun-not-using-css/41126)

<div class="topic-metadata">

**Author:** [@IVR](https://forum.elixirforum.com/u/IVR)\
**Replies:** 6\
**Last updated:** [July 19, 2021, 6:31pm UTC](https://forum.elixirforum.com/t/bamboo-mailgun-not-using-css/41126 "2021-07-19T18:31:12Z")

</div>

Hey all, I’m using Bamboo with Mailgun and I’m having trouble sending CSS-decorated emails. You can view my template here. For some reason, when my emails go through Mailgun, CSS, fonts and images are not getting picked…

---

## [Upgrading to Bamboo 2.2.0 from 1.6.0 Results in \`Bamboo.Phoenix is not loaded and could not be found\`](https://forum.elixirforum.com/t/upgrading-to-bamboo-2-2-0-from-1-6-0-results-in-bamboo-phoenix-is-not-loaded-and-could-not-be-found/40990)

<div class="topic-metadata">

**Author:** [@maz](https://forum.elixirforum.com/u/maz)\
**Replies:** 2\
**Last updated:** [July 12, 2021, 4:29pm UTC](https://forum.elixirforum.com/t/upgrading-to-bamboo-2-2-0-from-1-6-0-results-in-bamboo-phoenix-is-not-loaded-and-could-not-be-found/40990 "2021-07-12T16:29:25Z")

</div>

The line looks like: use Bamboo.Phoenix, view: FaithfulWordWeb.EmailView and it’s like Bamboo.Phoenix is just gone now: == Compilation error in file lib/faithful\_word/emails.ex == \*\* (CompileError) lib/faithful\_word/e…

---

## [Mailer Authentification required](https://forum.elixirforum.com/t/mailer-authentification-required/40939)

<div class="topic-metadata">

**Author:** [@KevIrinah](https://forum.elixirforum.com/u/KevIrinah)\
**Replies:** 3\
**Last updated:** [July 9, 2021, 7:26am UTC](https://forum.elixirforum.com/t/mailer-authentification-required/40939 "2021-07-09T07:26:19Z")

</div>

Hey guys, I’m designing a website and i need to send email to a customer. But when i use Mailer.deliver\_later/1 or deliver\_now/1 i receive an error. I don’t know where is the cause of this error. My config.exs: confi…

---

## [Oban: Jason.Encoder not implemented for %Bamboo.Email](https://forum.elixirforum.com/t/oban-jason-encoder-not-implemented-for-bamboo-email/34392)

<div class="topic-metadata">

**Author:** [@maz](https://forum.elixirforum.com/u/maz)\
**Replies:** 4\
**Last updated:** [May 18, 2021, 2:45pm UTC](https://forum.elixirforum.com/t/oban-jason-encoder-not-implemented-for-bamboo-email/34392 "2021-05-18T14:45:44Z")

</div>

I’d like to queue the mailing of an email via Bamboo but this code results in a Protocol.UndefinedError because it seems that Oban doesn’t know how to encode the %Bamboo.Email{} struct that contains the email body etc. A…

---

## [Amazon SES with Bamboo vs ExAws](https://forum.elixirforum.com/t/amazon-ses-with-bamboo-vs-exaws/39746)

<div class="topic-metadata">

**Author:** [@woohaaha](https://forum.elixirforum.com/u/woohaaha)\
**Replies:** 2\
**Last updated:** [May 17, 2021, 10:25am UTC](https://forum.elixirforum.com/t/amazon-ses-with-bamboo-vs-exaws/39746 "2021-05-17T10:25:12Z")

</div>

Has anyone used both Bamboo and ExAws and can comment on the differences? I would imagine that if I want to integrate with AWS SES than the obvious choice is ExAws even if both libraries (ExAws, Bamboo) are only using S…

---

## [Problem with auth in AWS](https://forum.elixirforum.com/t/problem-with-auth-in-aws/38961)

<div class="topic-metadata">

**Author:** [@Kallebhalf](https://forum.elixirforum.com/u/Kallebhalf)\
**Replies:** 0\
**Last updated:** [April 14, 2021, 6:16pm UTC](https://forum.elixirforum.com/t/problem-with-auth-in-aws/38961 "2021-04-14T18:16:44Z")

</div>

Hi! I am using Bamboo to send some emails with the SES Adapter (the email service from AWS). To make authentication for the service the lib ex\_aws is used, I use the default configuration for that, the environment varia…

---

## [Help sending mail through SendGrid / Bamboo](https://forum.elixirforum.com/t/help-sending-mail-through-sendgrid-bamboo/35139)

<div class="topic-metadata">

**Author:** [@hakarabakara](https://forum.elixirforum.com/u/hakarabakara)\
**Replies:** 4\
**Last updated:** [October 27, 2020, 7:40am UTC](https://forum.elixirforum.com/t/help-sending-mail-through-sendgrid-bamboo/35139 "2020-10-27T07:40:26Z")

</div>

Hi, I have the following coniguration in my releases.exs config :botclient, MyAPP.Mailer, adapter: Bamboo.SendGridAdapter, api\_key: System.get\_env("sendgrid\_key"), hackney\_opts: \[ recv\_timeout: :timer.m…

---

## [Can't fetch config values from config files](https://forum.elixirforum.com/t/cant-fetch-config-values-from-config-files/34180)

<div class="topic-metadata">

**Author:** [@Paha](https://forum.elixirforum.com/u/Paha)\
**Replies:** 2\
**Last updated:** [September 5, 2020, 3:26am UTC](https://forum.elixirforum.com/t/cant-fetch-config-values-from-config-files/34180 "2020-09-05T03:26:07Z")

</div>

I’ve been setting up Bamboo to use for sending emails and the final step I’m taking is setting up the actual mailer to send the email. I’m having trouble getting values from the config files and it seems whatever I put i…

---

## [Bamboo argument error in Production(heroku)](https://forum.elixirforum.com/t/bamboo-argument-error-in-production-heroku/32593)

<div class="topic-metadata">

**Author:** [@freewebwithme](https://forum.elixirforum.com/u/freewebwithme)\
**Replies:** 2\
**Last updated:** [June 24, 2020, 12:20am UTC](https://forum.elixirforum.com/t/bamboo-argument-error-in-production-heroku/32593 "2020-06-24T00:20:11Z")

</div>

Hi guys! I need your help. In my development environment, sending email using Bamboo(Mailgun adapter) is working fine. But in my production, I got error like below. \*\* (ArgumentError) argument error …

---

## [(FunctionClauseError) no function clause matching in Base.encode64/2](https://forum.elixirforum.com/t/functionclauseerror-no-function-clause-matching-in-base-encode64-2/30484)

<div class="topic-metadata">

**Author:** [@sahilpaudel](https://forum.elixirforum.com/u/sahilpaudel)\
**Replies:** 6\
**Last updated:** [April 10, 2020, 8:14pm UTC](https://forum.elixirforum.com/t/functionclauseerror-no-function-clause-matching-in-base-encode64-2/30484 "2020-04-10T20:14:24Z")

</div>

I am trying to send attachment inside email from my phoenix application using Bamboo. Library used: nimble\_csv bamboo bamboo\_smtp The attachment is in-memory data that I am getting after parsing the CSV and making s…

---

## [Function MyWeb.Bamboo.SentEmailViewerPlug.init/1 is undefined](https://forum.elixirforum.com/t/function-myweb-bamboo-sentemailviewerplug-init-1-is-undefined/28884)

<div class="topic-metadata">

**Author:** [@hendri-tobing](https://forum.elixirforum.com/u/hendri-tobing)\
**Replies:** 9\
**Last updated:** [February 5, 2020, 6:35pm UTC](https://forum.elixirforum.com/t/function-myweb-bamboo-sentemailviewerplug-init-1-is-undefined/28884 "2020-02-05T18:35:49Z")

</div>

I am working on an umbrella application that contains a separate Phoenix and Ecto application (my\_web and my\_app). Then I Install the Bamboo email library for sending emails on the Phoenix App my\_web. Bamboo can view th…

---

## [Sending personalized email to Amazon SES](https://forum.elixirforum.com/t/sending-personalized-email-to-amazon-ses/22536)

<div class="topic-metadata">

**Author:** [@chokchit](https://forum.elixirforum.com/u/chokchit)\
**Replies:** 2\
**Last updated:** [June 17, 2019, 2:54am UTC](https://forum.elixirforum.com/t/sending-personalized-email-to-amazon-ses/22536 "2019-06-17T02:54:21Z")

</div>

I’ve been playing around with Bamboo. Instead of sending the email template with its data, Is there anyway in Bamboo to send just only the data of the personalized template to SES (Using templates to send personalized em…

[Next page](https://forum.elixirforum.com/tag/bamboo/1580.md?match_all_tags=true&page=1&tags%5B%5D=bamboo)
