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
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
Which Phoenix version?
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
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
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.







