Description
This function retrieves an email account's Webmail settings.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
account |
string |
The mail account's username. If you do not specify a value, the function retrieves settings for the cPanel account's default mail account. |
A mail account username on the cPanel account. For example, user if the email address is user@example.com. |
user@example.com |
Returns
Return |
Type |
Description |
Possible values |
Example |
domain |
string |
The email account's domain. |
A valid domain on the cPanel account. |
example.com |
user |
string |
The email account username. |
A valid email account username on the cPanel account. |
user |
has_maildir |
boolean |
Whether Webmail is enabled for the email account. |
|
1 |