[reloop]
Elixir
Send email from Elixir and Phoenix with an OTP-friendly client for reliable, concurrent delivery.
1
Install the Elixir package
bash
{:reloop, "~> 0.1.0"}2
Send email from Elixir
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)12end3
GitHub, examples, and API reference
4
Need more help?
- Need help? Contact Support.
- Chat with Reloop developers on Discord.
- Check out our changelog.
- Questions? Contact Sales.
- LLM? Read llms.txt.
Send with Elixir.
Get an API key and ship transactional email from Elixir using the official SDK.