Module
Mailgun.Credentials
- Package
- purescript-mailgun
- Repository
- piq9117/purescript-mailgun
Programatically get and modify domain credentials
#Credentials Source
data Credentials :: Type
#credentials Source
credentials :: Domain -> Maybe String -> Credentials
#list Source
list :: forall a. Credentials -> Callback a -> Effect Unit
Returns a list of SMTP credentials for the defined domain.
#create Source
create :: forall a. Credentials -> CredentialsAttr -> Callback a -> Effect Unit
Creates a new set of SMTP credentials for the defined domain
#update Source
update :: forall a. Credentials -> CredentialsAttr -> Callback a -> Effect Unit
Updates the specified SMTP credentials. Currently only the password can be changed.