View Source AntikytheraCore.Alert.Handler.Email (antikythera v0.5.1)

Alert handler implementation that sends an email.

This is considered the default alert backend (and also used for testing of AntikytheraCore.Alert.Manager). Email delivery method is provided by a callback module of AntikytheraEal.AlertMailer.Behaviour.

Handler config

  • to - Required. List of email addresses to be sent. Must not be an empty list.
  • errors_per_body - Optional. Integer number of errors printed in body of an alert mail. Details of errors beyond this threshold will be omitted. Defaults to 3.