diff --git a/config/config.exs b/config/config.exs
index 51096d6..5dbfd9b 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -21,15 +21,6 @@ config :birdy_chat, BirdyChatWeb.Endpoint,
pubsub_server: BirdyChat.PubSub,
live_view: [signing_salt: "6cr1V8uA"]
-# Configure the mailer
-#
-# By default it uses the "Local" adapter which stores the emails
-# locally. You can see the emails in your browser, at "/dev/mailbox".
-#
-# For production it's recommended to configure a different adapter
-# at the `config/runtime.exs`.
-config :birdy_chat, BirdyChat.Mailer, adapter: Swoosh.Adapters.Local
-
# Configure esbuild (the version is required)
config :esbuild,
version: "0.25.4",
diff --git a/config/dev.exs b/config/dev.exs
index 5138034..dec572c 100644
--- a/config/dev.exs
+++ b/config/dev.exs
@@ -77,6 +77,3 @@ config :phoenix_live_view,
debug_attributes: true,
# Enable helpful, but potentially expensive runtime checks
enable_expensive_runtime_checks: true
-
-# Disable swoosh api client as it is only required for production adapters.
-config :swoosh, :api_client, false
diff --git a/config/prod.exs b/config/prod.exs
index 4e08023..ecdb679 100644
--- a/config/prod.exs
+++ b/config/prod.exs
@@ -18,12 +18,6 @@ config :birdy_chat, BirdyChatWeb.Endpoint,
hosts: ["localhost", "127.0.0.1"]
]
-# Configure Swoosh API Client
-config :swoosh, api_client: Swoosh.ApiClient.Req
-
-# Disable Swoosh Local Memory Storage
-config :swoosh, local: false
-
# Do not print debug messages in production
config :logger, level: :info
diff --git a/config/runtime.exs b/config/runtime.exs
index 26eec65..b6444aa 100644
--- a/config/runtime.exs
+++ b/config/runtime.exs
@@ -82,22 +82,4 @@ if config_env() == :prod do
# force_ssl: [hsts: true]
#
# Check `Plug.SSL` for all available options in `force_ssl`.
-
- # ## Configuring the mailer
- #
- # In production you need to configure the mailer to use a different adapter.
- # Here is an example configuration for Mailgun:
- #
- # config :birdy_chat, BirdyChat.Mailer,
- # adapter: Swoosh.Adapters.Mailgun,
- # api_key: System.get_env("MAILGUN_API_KEY"),
- # domain: System.get_env("MAILGUN_DOMAIN")
- #
- # Most non-SMTP adapters require an API client. Swoosh supports Req, Hackney,
- # and Finch out-of-the-box. This configuration is typically done at
- # compile-time in your config/prod.exs:
- #
- # config :swoosh, :api_client, Swoosh.ApiClient.Req
- #
- # See https://hexdocs.pm/swoosh/Swoosh.html#module-installation for details.
end
diff --git a/config/test.exs b/config/test.exs
index be9faa1..4a31ecc 100644
--- a/config/test.exs
+++ b/config/test.exs
@@ -7,12 +7,6 @@ config :birdy_chat, BirdyChatWeb.Endpoint,
secret_key_base: "DsOg8g/AU3wogZIm99JWnoDyijeinMJFFfkFdwkSkFcjvHywCXjCxl//NY1cvm7Y",
server: false
-# In test we don't send emails
-config :birdy_chat, BirdyChat.Mailer, adapter: Swoosh.Adapters.Test
-
-# Disable swoosh api client as it is only required for production adapters
-config :swoosh, :api_client, false
-
# Print only warnings and errors during test
config :logger, level: :warning
diff --git a/lib/birdy_chat/mailer.ex b/lib/birdy_chat/mailer.ex
deleted file mode 100644
index be833ef..0000000
--- a/lib/birdy_chat/mailer.ex
+++ /dev/null
@@ -1,3 +0,0 @@
-defmodule BirdyChat.Mailer do
- use Swoosh.Mailer, otp_app: :birdy_chat
-end
diff --git a/lib/birdy_chat_web/controllers/page_controller.ex b/lib/birdy_chat_web/controllers/page_controller.ex
deleted file mode 100644
index 6350031..0000000
--- a/lib/birdy_chat_web/controllers/page_controller.ex
+++ /dev/null
@@ -1,7 +0,0 @@
-defmodule BirdyChatWeb.PageController do
- use BirdyChatWeb, :controller
-
- def home(conn, _params) do
- render(conn, :home)
- end
-end
diff --git a/lib/birdy_chat_web/controllers/page_html.ex b/lib/birdy_chat_web/controllers/page_html.ex
deleted file mode 100644
index fe2290c..0000000
--- a/lib/birdy_chat_web/controllers/page_html.ex
+++ /dev/null
@@ -1,10 +0,0 @@
-defmodule BirdyChatWeb.PageHTML do
- @moduledoc """
- This module contains pages rendered by PageController.
-
- See the `page_html` directory for all templates available.
- """
- use BirdyChatWeb, :html
-
- embed_templates "page_html/*"
-end
diff --git a/lib/birdy_chat_web/controllers/page_html/home.html.heex b/lib/birdy_chat_web/controllers/page_html/home.html.heex
deleted file mode 100644
index b107fd0..0000000
--- a/lib/birdy_chat_web/controllers/page_html/home.html.heex
+++ /dev/null
@@ -1,202 +0,0 @@
-
-
- Build rich, interactive web applications quickly, with less code and fewer moving parts. Join our growing community of developers using Phoenix to craft APIs, HTML5 apps and more, for fun or at scale.
-