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

vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
Werner
Hi, I’m using Ubuntu 18.04 and after updating to OTP-24.0 yesterday i have this warning when I run “mix local.hex”: 14:57:30.512 [warn] ...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
Codball
Mix format works fine if run from the cmd. I’ve followed this to facilitate the implementation into VSC which involves downloading an ext...
New
Mooodi
Given a string, how can I get access to its character by index? Enum.at("my_string", 2) doesn't work. Or rather, not char, but a substr...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New

Other popular topics Top

dotdotdotPaul
Okay, I'm having a heck of a time trying to figure out how to best handle the validation of belongs_to associations in Ecto. I'm sure I'...
New
William
I would like to know that is there any online source for learning Phoenix Framework for building E-Commerce Store? Any advantage on build...
New
malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
mgjohns61585
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
New
danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 27727 240
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
AstonJ
by Lance Halvorsen Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web application...
460 27162 124
New
aesmail
Hello guys, I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New

We're in Beta

About us Mission Statement