Learn how to send your first email using the Resend Elixir SDK.
resend
mix.exs
def deps do [ {:resend, "~> 0.4.0"} ] end
html
client = Resend.client(api_key: System.get_env("RESEND_API_KEY")) Resend.Emails.send(client, %{ from: "Acme <onboarding@resend.dev>", to: ["delivered@resend.dev"], subject: "hello world", html: "<strong>it works!</strong>" })
Was this page helpful?