Email
Mailing Lists
Create mailing list
This function creates a Mailman mailing list.
Important:
When you disable the Receive Mail role, the system disables this function.
get/Email/add_list
Query parameters
domainstring domain required
Example:example.com
The domain.
liststring required
Example:newlist
The mailing list name.
passwordstring required
Example:12345luggage
The mailing list password.
private0 | 1
Whether the mailing list is private.
- 1 — Private.
- 0 — Public.
rebuildonly0 | 1
Whether to rebuild the mailing list.
- 1 — Rebuild the mailing list.
- 0 — Do not rebuild the mailing list.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "add_list",
"module": "Email",
"result": {
"metadata": {
"transformed": 1
},
"status": 1
}
}