| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
Email.DSN.DeliveryStatus
Description
Synopsis
- data DeliveryStatus = DeliveryStatus {}
- data PerRecipientField
- = FinalRecipient {
- addressType :: Text
- address :: Text
- | Status StatusCode
- | OtherPerRecipient RawField
- = FinalRecipient {
- data RawField = RawField {}
- parser :: Parser DeliveryStatus
Documentation
data DeliveryStatus Source #
Body of a message/delivery-status https://www.rfc-editor.org/rfc/rfc3464#section-2.1
Constructors
| DeliveryStatus | |
Instances
data PerRecipientField Source #
A subset of the RFC-specified per-recipient fields, chosen because they are the ones most useful for interpreting bounces.
Constructors
| FinalRecipient | |
Fields
| |
| Status StatusCode | |
| OtherPerRecipient RawField | |
Instances
Instances
| Generic RawField Source # | |
| Read RawField Source # | |
| Show RawField Source # | |
| Eq RawField Source # | |
| Ord RawField Source # | |
Defined in Email.DSN.DeliveryStatus | |
| type Rep RawField Source # | |
Defined in Email.DSN.DeliveryStatus type Rep RawField = D1 ('MetaData "RawField" "Email.DSN.DeliveryStatus" "delivery-status-notification-0.2.0.0-76ALF88on4MADTvdhQzjSp" 'False) (C1 ('MetaCons "RawField" 'PrefixI 'True) (S1 ('MetaSel ('Just "fieldName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "fieldBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |
parser :: Parser DeliveryStatus Source #
This parser isn't fully compliant with the RFC, since it omits the syntax variants marked as obsolete. The obsolete syntax may be supported in future, but was omitted for simplicity (my use cases didn't need it).