Skip to content

Commit

Permalink
Add support for gen_smtp_client sockopts
Browse files Browse the repository at this point in the history
  • Loading branch information
Fnux committed Jan 19, 2021
1 parent 89b1501 commit bdc911b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/bamboo/adapters/smtp_adapter.ex
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,10 @@ defmodule Bamboo.SMTPAdapter do
[{:auth, value} | config]
end

defp to_gen_smtp_server_config({:sockopts, value}, config) do
[{:sockopts, value} | config]
end

defp to_gen_smtp_server_config({conf, {:system, var}}, config) do
to_gen_smtp_server_config({conf, System.get_env(var)}, config)
end
Expand Down

0 comments on commit bdc911b

Please # to comment.