mailjex v0.2.6 Mailjex.ContactList

Exposes functions for managing contact lists on MailJet.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

Allows you to manage the presence and subscription status of a contact to a specific contact list

Link to this section Functions

Link to this function

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

manage_contact(id, body)

Allows you to manage the presence and subscription status of a contact to a specific contact list.

Examples

iex> body = %{
...>    "Email": "mrsmith@mailjet.com",
...>    "Name": "MrSmith",
...>    "Action": "addnoforce",
...>    "Properties": %{
...>        "property1": "value",
...>        "propertyN": "valueN"
...>    }
...>}
iex> Mailjex.ContactList.manage_contact(12345, body)