Module

Mailgun.Bounces

Package
purescript-mailgun
Repository
piq9117/purescript-mailgun

Mailgun automatically handles bounced emails. The list of bounced address can be accessed programmatically.

#Bounces Source

data Bounces :: Type

#BouncesAttr Source

type BouncesAttr = { address :: String, code :: Int, created_at :: Effect Date, error :: String }

#bounces Source

bounces :: Mailgun -> Maybe String -> Bounces

bounces api.

#list Source

list :: forall a. Bounces -> Callback a -> Effect Unit

Fetches the list of bounces.

#info Source

info :: forall a. Bounces -> Callback a -> Effect Unit

Fetches a single bounces event by a given email address.

#delete Source

delete :: forall a. Bounces -> Callback a -> Effect Unit

Clears a given bounce event.

#create Source

create :: forall a. Bounces -> BouncesAttr -> Callback a -> Effect Unit

Adds a permanent bounce to the bounces table. Updates the existing record if alread here.