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