I’m trying to setup email functions within a Phoenix 1.4 and Elixir 1.7 app for someone using an email service. I’ve got this working using my own AWS SES account so I know the logic is solid. The problem I’m having though is he won’t give me a username and password for the SMTP config as “if we are sending to us.exg7.exghost.com, which is our email server, you need to authenticate. But we are using their relay.appriver.com server so you don’t need it,” according to him. He said all I should need is a port, a from email address and the “relay.appriver.com” server name. How do I get BambooSMTP setup with only that information?
If I try to pass it blank username/password credentials, it gives me an error:
Bamboo.SMTPAdapter.SMTPError at POST /email
There was a problem sending the email through SMTP.
The error is :retries_exceeded
More detail below:
{:network_failure, "relay.appriver.com", {:error, :timeout}}