This function creates a Mailman mailing list.
Important:
When you disable the Receive Mail role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Email \ add_list \ list='newlist' \ password='12345luggage' \ domain='example.com'
{- "apiversion": 3,
- "func": "add_list",
- "module": "Email",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}