Alia

Alia

Bamboo SMTP error - (Bamboo.SMTPAdapter.SMTPError) There was a problem sending the email through SMTP

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:

{:permanent_failure, "smtp.gmail.com", "530-5.7.0 Authentication Required. Learn more at\r\n530 5.7.0  https://support.google.com/mail/?p=WantAuthError d18-20020a5d6452000000b00215859413f3sm4737143wrw.107 - gsmtp\r\n"}

Most Liked

kokolegorille

kokolegorille

Not that I know the answer to your question, but I am curious about Bamboo, it has been replaced by swoosh in Phoenix…

I do not know which version of Phoenix You are using.

Recently I updated a Phoenix 1.5 application to 1.6. There was a problem of compatibility (mime 1.4 error)

I saw it’s also less maintained.

kokolegorille

kokolegorille

Which Phoenix version?

al2o3cr

al2o3cr

Gmail is rejecting the credentials that Bamboo is sending; have you tried the troubleshooting steps from the URL in that error message already?

Kurisu

Kurisu

If you are using free google smtp service it won’t work. It seems that Google is not providing anymore that service for ordinary gmail account.

I also used it to send mails in dev mode in my Phoenix projects. Now I just switched to Swoosh Smtp. The good thing with Swoosh is that it seems to be more actively maintained than Bamboo now. Swoosh has even a bult-in local email adapter to send mails in dev environment.

In production paid SMTP service is anyway the recommended solution I think or you can roll your own SMTP server ?

Kurisu

Kurisu

In fact this does not depend on Swoosh or Bamboo. There is no more free google smtp service.

The Swoosh.Adapters.Local is just a simulation of mails sending. The mails are not actually sent but it is convenient for serving pages useful for previewing emails in development.

You can check its configuration here.

Where Next?

Popular in Questions Top

stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
srinivasu
How to handle excepions in elixir? Suppose i have A, B, C ,D, E modules. and each module has get() function. A.get() method will call th...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 record...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
tduccuong
Hi, is there any work on GUI with Elixir, that is similar to Electron/Javascript? My idea is to bundle Phoenix and BEAM into a single se...
New
New
Jim
As a follow up to my earlier question: I have the code compiling and running but not getting a successful login from the rest server. ...
New
Phillipp
Hey, I have a NanoPi-M3 and try to install Elixir on their Ubuntu image. I followed the Raspberry Pi installation instructions from the ...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New

Other popular topics Top

fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
JDanielMartinez
Hi! May someone helps me, please! I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
shahryarjb
Hello, I get Persian date from my client and convert it to normal calendar like this: def jalali_string_to_miladi_english_number(persi...
New
peerreynders
Manning 2016 Halloween weekend sale via Deal of the Day Friday, October 28 - Half off all MEAPs - code WM102816LT Saturday, October 29 ...
326 29600 154
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1140 51847 244
New
yurko
Here are few pieces of (common) Linux knowledge that we use for reasonably small one server apps. We use Ubuntu but this should work for ...
New
Tee
can someone please explain to me how Enum.reduce works with maps
New
johnnyicon
Hi all, I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I'm trying to use Postg...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers' Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
lucidguppy
I have a super simple question about elixir - how would I take a file like this foo bar baz and output a new file that enumerates th...
New

We're in Beta

About us Mission Statement