View Source Bamboo.Mua.MultihostError exception (Bamboo.Mua v0.1.4)

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

Link to this function

message(multihost_error)

View Source

Callback implementation for Exception.message/1.