Module

Mailgun.Domain

Package
purescript-mailgun
Repository
piq9117/purescript-mailgun

#Domain Source

data Domain :: Type

#DomainAttr Source

type DomainAttr = { name :: String, smtp_password :: String, spam_action :: SpamAction, wildcard :: Boolean, force_dkim_authority :: Boolean, dkim_key_size :: DkimSize, ips :: String }

#SpamAction Source

#DkimSize Source

data DkimSize

Constructors

#domain Source

domain :: Mailgun -> Maybe String -> Domain

This API allows you to create, access, and validate domains programmcatically.

#list Source

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

Returns a list of domains under your accoung in JSON.

#info Source

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

Returns a single domain, includeing credentials and DNS records.

#create Source

create :: forall a. Domain -> DomainAttr -> Callback a -> Effect Unit

Create a new domain.

#delete Source

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

Delete a domain from your account

#verify Source

verify :: forall a. Domain -> DomainAttr -> Callback a -> Effect Unit

Verifies and retursn a single domain, including credentials and DNS records.