This function gets the number of unique recipients that a system user sent mail to within a period of time. It groups this data by each of the user's email accounts.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ get_unique_recipient_count_per_sender_for_user \ user='username' \ start_time='1550872800' \ end_time='1550923200'
{- "data": {
- "payload": [
- {
- "sender": "username@example.com",
- "unique_recipient_count": 51
}
]
}, - "metadata": {
- "command": "get_unique_recipient_count_per_sender_for_user",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}