Karta.Bounces.Bounce (Karta v1.0.0)

One recipient's delivery failure, reported by its mail server after Karta had sent the message: a delivery status notification returned to the VERP return path.

kind is :hard (permanent: the address is suppressed) or :soft (temporary: recorded, the address is not suppressed). status is the enhanced status code the report gave (RFC 3463) and code the three-digit SMTP reply it quotes; diagnostic, remote_mta and reporting_mta are what the report said. address is the recipient of Karta's message, never an address the report names.

report_key is a digest of the notification (its Message-ID, or its bytes when it has none), so the same report delivered twice is recorded once.

Summary

Types

t()

@type t() :: %Karta.Bounces.Bounce{
  __meta__: term(),
  action: term(),
  address: term(),
  code: term(),
  created_at: term(),
  diagnostic: term(),
  id: term(),
  kind: term(),
  message: term(),
  message_id: term(),
  original_recipient: term(),
  recipient: term(),
  recipient_id: term(),
  remote_mta: term(),
  report_key: term(),
  reported_at: term(),
  reporting_mta: term(),
  server: term(),
  server_id: term(),
  status: term(),
  updated_at: term()
}