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

Raised when no relay is used and recipients contain addresses across multiple hosts.

For example:

Bamboo.Email.new_email(
  to: {"Ruslan", "dogaruslan@gmail.com"},
  cc: [{"Another Ruslan", "ruslandoga@ya.ru"}]
)

Fields:

  • :hosts - the hosts for the recipients, ["gmail.com", "ya.ru"] in the example above

Summary

Functions

Link to this function

message(multihost_error)

View Source

Callback implementation for Exception.message/1.