Description
This function retrieves information about an account's Webmail applications.
Warning:
- We strongly recommend that you use the following UAPI function instead of this function:
-
Webmailapps::listwebmailapps
— This function lists the account's available webmail clients.
-
- We deprecated and removed this function in cPanel & WHM version 11.44. For help to update custom code that uses this function, send an email to integration@cpanel.net.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
This function does not accept parameters.
Returns
Parameter |
Type |
Description |
Possible values |
Example |
feature |
string |
The Webmail application's feature name. |
A valid string. |
horde |
icon |
string |
The path to the Webmail application's icon file. |
A valid file path, relative to the home directory. |
/webmail/x3mail/images/horde.gif |
url |
string |
The URL to the Webmail application's location. |
A valid URL, relative to the home directory. |
/cpsess1658535621/horde/index.php?cpanel=1 |
id |
string |
The Webmail application's ID. |
A valid string. |
horde |
displayname |
string |
The Webmail application's display name. |
A valid string. |
Horde |
if |
string |
The conditional statement that the interface uses to determine whether to display the Webmail application. |
A conditional statement. |
!$CONF{'skiphorde'} |
reason |
string |
A reason for failure. Note: This function only returns a reason value if it failed. |
A string that describes the error. |
This is an error message. |
result |
Boolean |
Whether the function succeeded. |
|
1 |