Skip to content

Commit

Permalink
Update return value in docs (#813)
Browse files Browse the repository at this point in the history
  • Loading branch information
princemaple authored Sep 20, 2023
1 parent 5d6ead8 commit 8943ec5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/swoosh/mailer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ defmodule Swoosh.Mailer do
iex> email = new |> from("tony.stark@example.com") |> to("steve.rogers@example.com")
%Swoosh.Email{from: {"", "tony.stark@example.com"}, ...}
iex> Mailer.deliver(email)
:ok
{:ok, %{...}}
## Dynamic config
Expand All @@ -52,7 +52,7 @@ defmodule Swoosh.Mailer do
iex> email = new |> from("tony.stark@example.com") |> to("steve.rogers@example.com")
%Swoosh.Email{from: {"", "tony.stark@example.com"}, ...}
iex> Mailer.deliver(email, domain: "jarvis.com")
:ok
{:ok, %{...}}
## Telemetry
Expand Down

0 comments on commit 8943ec5

Please sign in to comment.