This function retrieves an email account's client settings.
Important:
When you disable the Receive Mail role, the system disables this function.
account | string <email> The email address for which to send client settings. Note: This parameter defaults to the system default email account. Example: account=username@example.com |
uapi --output=jsonpretty \ --user=username \ Email \ get_client_settings
{- "apiversion": 3,
- "func": "get_client_settings",
- "module": "Email",
- "result": {
- "data": {
- "account": "username@example.com",
- "activesync_available": 1,
- "activesync_host": "mail.example.com",
- "activesync_port": 2091,
- "activesync_username": "username@example.com",
- "display": "username@example.com",
- "domain": "domain.com",
- "from_archiving": 0,
- "has_plaintext_authentication": 1,
- "inbox_host": "mail.example.com",
- "inbox_insecure_port": 143,
- "inbox_port": 993,
- "inbox_service": "imap",
- "inbox_username": "username@example.com",
- "mail_domain": "mail.example.com",
- "smtp_host": "mail.example.com",
- "smtp_insecure_port": 25,
- "smtp_port": 465,
- "smtp_username": "username@example.com"
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}