Integrate with Reloop using Elixir
Official Elixir SDK for Reloop. A few lines of code to send production email.
Install
bash
{:reloop, "~> 0.1.0"}Send email
send_email.ex
1client = Reloop.client(api_key: System.get_env("RELOOP_API_KEY"))2
3Reloop.Emails.send(client, %{4 from: "Acme <onboarding@yourdomain.com>",5 to: ["delivered@yourdomain.com"],6 subject: "Hello from Elixir",7 html: "<strong>It works!</strong>"8})9|> case do10 {:ok, email} -> IO.puts("Email sent: " <> email.id)11 {:error, reason} -> IO.inspect(reason)12endPopular Elixir integrations
Send with Elixir.
Get an API key, verify your domain, and ship transactional email in minutes.