View Source Bamboo.Mua.MultihostError exception (Bamboo.Mua v0.1.5)
Raised when no relay is used and recipients contain addresses across multiple hosts.
For example:
email =
Bamboo.Email.new_email(
to: {"Mua", "mua@github.com"},
cc: [{"Bamboo", "mua@bamboo.github.com"}]
)
Bamboo.Mua.deliver(email, _no_relay_config = %{})
Fields:
:hosts
- the hosts for the recipients,["github.com", "bamboo.github.com"]
in the example above
Summary
Functions
Callback implementation for Exception.message/1
.
Types
@type t() :: %Bamboo.Mua.MultihostError{__exception__: true, hosts: [Mua.host()]}
Functions
Callback implementation for Exception.message/1
.