Packages

Official Elixir SDK for the Unsent API - Send transactional emails with ease

Current section

Files

Jump to
unsent lib unsent.ex
Raw

lib/unsent.ex

defmodule Unsent do
@moduledoc """
Official Elixir SDK for the Unsent API.
Send transactional emails, manage contacts, campaigns, and domains.
"""
alias Unsent.Client
@doc """
Creates a new Unsent client.
## Examples
iex> client = Unsent.new("un_xxx")
iex> is_struct(client, Unsent.Client)
true
"""
def new(api_key, opts \\ []) do
Client.new(api_key, opts)
end
end