An SMTP adapter for Bamboo.
Enum.map_join/3
instead of Enum.map/2 |> Enum.join/2
(#205)Add support for attachment unicode file names by encoding them using format described in RFC 2231 (#183).
After bumping dependencies, the project requires(#185, #187):
By bumping gen_smtp
we fix the issue of errors being raised when sending emails after a STARTTLS.
SMTPError
we now return an {:error, %SMTPError{}}
tuple. This is required to accommodate the breaking changes introduced in bamboo 2.0
(#177).gen_smtp
dependency from 1.0.1 to 1.1.0 ([#171])
response: true
by bumping bamboo
version to ~> 1.6
(#150):permanent_failure
exception and re-raising it as a SMTPError
.(#156)~> 1.4.1
~> 1.6
~> 0.13.3
~> 1.0.1
SMTPAdapter now returns the SMTP server response (#122)
UPGRADE NOTES
In case you were using the response: true option, be aware that you'll now get a tuple as a return value in the form of {:ok, <raw-smtp-response>}
instead of an atom :ok
.