Miercoles

This commit is contained in:
2024-05-31 16:13:33 -03:00
parent b7ed61c490
commit 9b00cedf2e
10 changed files with 104 additions and 7 deletions

View File

@ -8,13 +8,15 @@ defmodule Derivantes.Accounts.UserNotifier do
email =
new()
|> to(recipient)
|> from({"Derivantes", "contact@example.com"})
|> from({"Derivantes", "informedigital@rmitacriocuarto.com.ar"})
|> subject(subject)
|> text_body(body)
with {:ok, _metadata} <- Mailer.deliver(email) do
{:ok, email}
end
|> Mailer.deliver()
|>IO.inspect()
# with {:ok, _metadata} <- Mailer.deliver(email) do
# {:ok, email}
# end
end
@doc """