Closed
Description
Run time configuration is exactly what I need... however, there is a syntax error in the provided example (visible at https://hexdocs.pm/bamboo_config_adapter/Bamboo.ConfigAdapter.Email.html):
def welcome do
email
|> Bamboo.ConfigAdapter.put_config(%{server: "smtp.other_domain)})
|> Mailer.deliver_now()
end
I think the line should be:
Bamboo.ConfigAdapter.Email.put_config(%{server: "smtp.other_domain"})
However, even after looking through the source code, I'm unsure how this is supposed to be put together. It would be helpful to have a full working example. Thanks!
Metadata
Assignees
Labels
No labels
Activity