Karta.Outbound.Delivery (Karta v1.0.0)

One delivery attempt for one recipient: what the receiving server (or the attempt to reach one) said.

status is :delivered, :deferred or :bounced; code, enhanced and details are the reply (or Karta's own description when no server answered). mx_host and remote_ip are the server tried, ip_used the local address. tls_version and tls_cipher are set when the connection was encrypted; tls_policy is "opportunistic" or "verified", the policy the attempt ran under.

Summary

Types

t()

@type t() :: %Karta.Outbound.Delivery{
  __meta__: term(),
  attempt: term(),
  code: term(),
  created_at: term(),
  details: term(),
  enhanced: term(),
  id: term(),
  ip_used: term(),
  message: term(),
  message_id: term(),
  mx_host: term(),
  recipient: term(),
  recipient_id: term(),
  remote_ip: term(),
  server: term(),
  server_id: term(),
  status: term(),
  tls_cipher: term(),
  tls_policy: term(),
  tls_version: term()
}