Module

Mailgun.MailingList

Package
purescript-mailgun
Repository
piq9117/purescript-mailgun

Programmatically work with mailing lists and mailing list memebers using Mailgun Mailing List API.

#MailingList Source

#AccessLevel Source

#mailingList Source

mailingList :: Mailgun -> Maybe String -> MailingList

mailing list api.

#list Source

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

Returns a list of mailing lists under your account.

#info Source

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

Returns a single mailing list by a given address.

#create Source

create :: forall a. MailingList -> MailingListAttr -> Callback a -> Effect Unit

Create a new mailing list.

#update Source

update :: forall a. MailingList -> MailingListAttr -> Callback a -> Effect Unit

Update mailing list properties, such as address, description or name.

#delete Source

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

Deletes a mailing list.