Karta.Complaints.Complaint (Karta v1.0.0)

One recipient's spam complaint about a message Karta sent: a feedback report (RFC 5965) returned to the VERP return path.

address is the recipient of Karta's message, never an address the report names. feedback_type is the report's type (a registered one, or "abuse" for anything else); user_agent, version, original_mail_from, original_rcpt_to, reported_domain and source_ip are the feedback-report part's fields as it wrote them, made safe for a column (Karta.Mail.Text). report_message_id is the report's own Message-ID and original_message_id the quoted message's; both are for the record only.

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

Summary

Types

t()

@type t() :: %Karta.Complaints.Complaint{
  __meta__: term(),
  address: term(),
  created_at: term(),
  feedback_type: term(),
  id: term(),
  message: term(),
  message_id: term(),
  original_mail_from: term(),
  original_message_id: term(),
  original_rcpt_to: term(),
  recipient: term(),
  recipient_id: term(),
  report_key: term(),
  report_message_id: term(),
  reported_at: term(),
  reported_domain: term(),
  server: term(),
  server_id: term(),
  source_ip: term(),
  updated_at: term(),
  user_agent: term(),
  version: term()
}