cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

Mail → Return all cPanel accounts email tracking statistics

AI-generated

Summary

Return email tracking statistics for all cPanel accounts within a specified time window and filtered by delivery type and sender.

Inputs

  • Deliverytype — Filter the type of email delivery to query. Options include 'remote', 'remote-or-faildefer', and 'local'. If omitted, returns all delivery types.
  • Starttime — The start time (UNIX timestamp) of the search window for email tracking statistics. Defaults to 0 if not specified.
  • Endtime — The end time (UNIX timestamp) of the search window. Defaults to 0 if not specified.
  • Sender — Filter results to emails sent by this sender's email address. If omitted, returns statistics for all senders.

Output shape

a JSON object containing aggregated email tracking statistics for cPanel accounts matching the query criteria

The output contains the data returned by the cPanel WHM API's email tracking endpoint. If parameters are omitted, statistics span all senders, delivery types, and the default time window (if specified). Errors from the WHM API may be reported as exceptions.

Links

Discussion