From 117ccf5e16d3a5a4a0be71e5956144bcb2cfd9c3 Mon Sep 17 00:00:00 2001 From: Ryan Pandya Date: Mon, 24 Oct 2022 00:33:44 -0700 Subject: [PATCH] swoosh -> postmark --- friends/config/config.exs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/friends/config/config.exs b/friends/config/config.exs index 63803a4..04550a5 100644 --- a/friends/config/config.exs +++ b/friends/config/config.exs @@ -24,10 +24,12 @@ config :friends, FriendsWeb.Endpoint, # # For production it's recommended to configure a different adapter # at the `config/runtime.exs`. -config :friends, Friends.Mailer, adapter: Swoosh.Adapters.Local +config :friends, Friends.Mailer, + adapter: Swoosh.Adapters.Postmark, + api_key: "9f88862b-b2b3-46bf-9d50-31ebc2f7820c" # Swoosh API client is needed for adapters other than SMTP. -config :swoosh, :api_client, false +# config :swoosh, :api_client, false # Configure esbuild (the version is required) config :esbuild,