Send Email with
Elixir

Send email from Elixir and Phoenix with an OTP-friendly client for reliable, concurrent delivery.

Send your first email

Install the SDK, set your API key, and call emails.send.

{:reloop, "~> 0.1.0"}
send_email.elixir
client = Reloop.client(api_key: System.get_env("RELOOP_API_KEY"))

Reloop.Emails.send(client, %{
  from: "Acme <onboarding@yourdomain.com>",
  to: ["delivered@yourdomain.com"],
  subject: "Hello from Elixir",
  html: "<strong>It works!</strong>"
})
|> case do
  {:ok, email} -> IO.puts("Email sent: " <> email.id)
  {:error, reason} -> IO.inspect(reason)
end

Built for Elixir developers

Idiomatic Elixir client

Follows conventions your team already uses—clear types, predictable errors, and examples that match the official quickstart.

PhoenixOTPLiveView

Fast delivery

Messages route through Reloop's edge network for sub-second handoffs and high inbox placement.

Events & webhooks

Track delivered, bounced, and opened events from your Elixir app with signed webhook payloads.

Production ready

API keys, domain verification, rate limits, and observability—everything you need before going live.

Three steps with Elixir

1

Install

Run {:reloop, "~> 0.1.0"} in your project.

2

Authenticate

Add your Reloop API key from the dashboard and verify a sending domain.

3

Send

Copy the sample above or follow the full Elixir guide.

Start sending with Elixir

Get your API key and explore framework-specific tutorials in our documentation.

← All languages