Skip to content

Commit

Permalink
Merge pull request #170 from fewlinesco/release/v3.1.2
Browse files Browse the repository at this point in the history
Release/v3.1.2
  • Loading branch information
MatheusBueno782 authored Jan 29, 2021
2 parents a6c9b58 + 4f3062c commit 8195870
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 3.1.2 - 2021-01-29
- Enable Bamboo_smtp to work in ipv6-only environment. Fix issue([#143]).

[#143]: https://github.com/fewlinesco/bamboo_smtp/issues/143
## 3.1.1 - 2021-01-04
- Bring back Base64 encoding on headers. Fix issue [#162]

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The package can be installed as:

```elixir
def deps do
[{:bamboo_smtp, "~> 3.1.0"}]
[{:bamboo_smtp, "~> 3.1.2"}]
end
```

Expand Down Expand Up @@ -50,7 +50,7 @@ The package can be installed as:
```

*Sensitive credentials should not be committed to source control and are best kept in environment variables.
Using `{:system, "ENV_NAME"}` configuration is read from the named environment variable at runtime.*
Using `{:system, "ENV_NAME"}` configuration is read from the named environment variable at runtime.*

The *hostname* option sets the FQDN to the header of your emails, its optional, but if you don't set it, the underlying `gen_smtp` module will use the hostname of your machine, like `localhost`.

Expand Down
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
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule BambooSmtp.Mixfile do
use Mix.Project

@project_url "https://github.com/fewlinesco/bamboo_smtp"
@version "3.1.1"
@version "3.1.2"

def project do
[
Expand Down

0 comments on commit 8195870

Please sign in to comment.