Source Code
View on GitHub
Package
View on Hex
Install
Add to yourmix.exs dependencies:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Send emails from Elixir using the SendKit SDK.
mix.exs dependencies:
def deps do
[
{:sendkit, "~> 1.0"}
]
end
mix deps.get
client = SendKit.new("sk_your_api_key")
{:ok, %{"id" => id}} =
SendKit.Emails.send(client, %{
from: "Your Name <you@yourdomain.com>",
to: ["recipient@example.com"],
subject: "Hello from SendKit",
html: "<h1>Welcome!</h1><p>Your first email with SendKit.</p>"
})
IO.puts("Email sent: #{id}")
