Install and configure Swoosh with Mailgun

This commit is contained in:
Claudio Ortolina
2026-03-04 15:41:41 +00:00
parent 60e32758b3
commit 1c04eea88f
7 changed files with 34 additions and 0 deletions
+7
View File
@@ -112,6 +112,13 @@ config :oban_met, sketch_time_unit: :millisecond
config :music_library, MusicLibrary.BackgroundRepo, priv: "priv/background_repo"
config :swoosh, :api_client, Swoosh.ApiClient.Req
config :music_library, MusicLibrary.Mailer,
adapter: Swoosh.Adapters.Mailgun,
api_key: "change me",
domain: "change me"
config :fluxon, :translate_function, &MusicLibraryWeb.CoreComponents.translate_error/1
# Import environment specific config. This must remain at the bottom