Skip to content

Commit

Permalink
Remove all reference to Mailgun
Browse files Browse the repository at this point in the history
  • Loading branch information
phildarnowsky committed Feb 28, 2020
1 parent acc930d commit 23d6e20
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 9 deletions.
4 changes: 1 addition & 3 deletions apps/feedback/config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ config :feedback,
support_ticket_to_email: System.get_env("SUPPORT_TICKET_TO_EMAIL") || "[email protected]",
support_ticket_from_email: System.get_env("SUPPORT_TICKET_FROM_EMAIL") || "[email protected]",
support_ticket_reply_email: System.get_env("SUPPORT_TICKET_REPLY_EMAIL") || "[email protected]",
mailgun_domain: System.get_env("MAILGUN_DOMAIN") || "",
mailgun_key: System.get_env("MAILGUN_API_KEY") || "",
test_mail_file: "/tmp/mailgun.json",
test_mail_file: "/tmp/test_support_email.json",
time_fetcher: DateTime

import_config "#{Mix.env()}.exs"
2 changes: 0 additions & 2 deletions apps/feedback/config/prod.exs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
use Mix.Config

config :feedback,
mailgun_domain: "${MAILGUN_DOMAIN}",
mailgun_key: "${MAILGUN_API_KEY}",
support_ticket_to_email: "${SUPPORT_TICKET_TO_EMAIL}",
support_ticket_from_email: "${SUPPORT_TICKET_FROM_EMAIL}",
support_ticket_reply_email: "${SUPPORT_TICKET_REPLY_EMAIL}"
1 change: 0 additions & 1 deletion apps/feedback/lib/mailer.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
defmodule Feedback.Mailer do
@moduledoc false

use Mailgun.Client
require Logger

@spec send_heat_ticket(Feedback.Message.t(), [map()]) :: {:ok, any} | {:error, any}
Expand Down
3 changes: 1 addition & 2 deletions apps/feedback/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule Feedback.Mixfile do
#
# Type "mix help compile.app" for more information
def application do
[applications: [:logger, :mailgun, :timex, :briefly, :ex_aws, :ex_aws_ses, :mail]]
[applications: [:logger, :timex, :briefly, :ex_aws, :ex_aws_ses, :mail]]
end

# Dependencies can be Hex packages:
Expand All @@ -35,7 +35,6 @@ defmodule Feedback.Mixfile do
# Type "mix help deps" for more examples and options
defp deps do
[
{:mailgun, "~> 0.1.2"},
{:poison, "~> 2.2", override: true},
{:timex, ">= 2.0.0"},
{:briefly, "~> 0.3"},
Expand Down
1 change: 0 additions & 1 deletion mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"laboratory": {:git, "https://github.com/paulswartz/laboratory.git", "24adbe2cb18d8368e140ab5e13c8f5b75adea742", [ref: "cookie_opts"]},
"logster": {:hex, :logster, "0.4.3", "a20e9c60e94847e60064d99042d10b1d03abac354c2b360842bf9b3386e56b4a", [:mix], [{:plug, "~> 1.0", [hex: :plug, optional: false]}, {:poison, "~> 1.5 or ~> 2.0 or ~> 3.0", [hex: :poison, optional: false]}]},
"mail": {:hex, :mail, "0.2.1", "65ba7cf79c07b79a3ce5946397a06b87d8b5f7e5f7b6d31ee8bcdfe940e27b86", [:mix], [], "hexpm"},
"mailgun": {:hex, :mailgun, "0.1.2", "37c1306675cf27a66a13dea3c9d479da2a990f0aed296b5addbd0b07529b667d", [:mix], [{:poison, "~> 1.4", [hex: :poison, optional: false]}]},
"makeup": {:hex, :makeup, "0.5.5", "9e08dfc45280c5684d771ad58159f718a7b5788596099bdfb0284597d368a882", [:mix], [{:nimble_parsec, "~> 0.4", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm"},
"makeup_elixir": {:hex, :makeup_elixir, "0.10.0", "0f09c2ddf352887a956d84f8f7e702111122ca32fbbc84c2f0569b8b65cbf7fa", [:mix], [{:makeup, "~> 0.5.5", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm"},
"meck": {:hex, :meck, "0.8.13", "ffedb39f99b0b99703b8601c6f17c7f76313ee12de6b646e671e3188401f7866", [:rebar3], [], "hexpm"},
Expand Down

0 comments on commit 23d6e20

Please sign in to comment.