Skip to content

Example not working #2

Closed
Closed
@fireproofsocks

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions