This function retrieves email tracking statistics.
deliveryty | string The type of delivery to query. If you do not specify a value, this function returns all types.
Example: |
endtime | integer Default: The end time of the search window. This parameter defaults to the current time. Note You can also call this the Example: |
nosize | integer Default: Whether to return the
Example: |
nosuccess | integer Default: Whether to return the
Example: |
starttime | integer Default: The start time of the search window. Note You can also call this the Example: |
user | string The cPanel username to query. If you do not specify a value, the function retrieves statistics for all of the server's accounts. Example: |
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ emailtrack_stats
{- "data": {
- "records": [
- {
- "DEFERCOUNT": 0,
- "DEFERFAILCOUNT": 0,
- "FAILCOUNT": 0,
- "INPROGRESSCOUNT": 0,
- "SENDCOUNT": 14,
- "SUCCESSCOUNT": 14,
- "TOTALSIZE": 27444
}
]
}, - "metadata": {
- "command": "emailtrack_stats",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}