sendgrid_elixir
sendgrid_elixir copied to clipboard
Create and send composable emails with Elixir and SendGrid.
Transfer
Are you open to transferring this to my noizu-labs org. I rely on this thing on a few projects.
List of changes: * Refactor module config * Fix typos * Use and set latest ex_doc * Set readme as default html page * Add changelog to html doc and...
Can we extend `add_dynamic_template_data/3` function spec since in sendgrid templates is possible to do any of these: ``` {{#if is_default}} {{#each statuses as |status|}} ``` Thanks,
Typespecs are too strict for nested template data: ``` @spec add_dynamic_template_data(t, String.t(), String.t() || map()) :: t ``` My usage: ``` |> Email.add_dynamic_template_data("item_title", item.title) |> Email.add_dynamic_template_data("list_of_things", [ %{"id" => item}...
I get access forbidden on anything I try with this lib.
Just a heads up that SendGrid has a new API for Marketing Campaigns and has relabeled the API used by the package as "Legacy Marketing Campaigns". https://sendgrid.api-docs.io/v3.0/contacts/add-or-update-a-contact
added functions to handle adding multiple recipients