Karta. Bounces. DSN. Report
(Karta v1.0.0)
What a delivery status notification says, as Karta.Bounces.DSN read it:
the report's own Message-ID, the reporting MTA, the original envelope id
and arrival time, and one group of fields per recipient.
A group's kind is what the notification says happened: :hard (a
permanent failure), :soft (a temporary one), :success (delivered or
relayed) or :unknown (no status Karta can read). status is the
enhanced status code (RFC 3463) when the report gives one and code the
three-digit SMTP reply the diagnostic quotes. The addresses are as
received, without their type (rfc822;); nothing in a report is
trusted beyond what it says about the delivery.
Summary
Types
@type kind() :: :hard | :soft | :success | :unknown
What the notification says happened to one recipient.