This function returns the account's BoxTrapper log file and its contents.
Important:
When you disable the Receive Mail role, the system disables this function.
email required | string The account's email address. Important: If you call this function in Webmail, the system ignores this parameter and defaults to the currently authenticated email address. Example: |
date | integer The date for which to return the log file and its contents. Note: This parameter defaults to the current date. Example: |
HTTP Request was successful.
apiversion | integer The version of the API. |
func | string The name of the method called. |
module | string The name of the module called. |
object |
uapi --output=jsonpretty \ --user=username \ BoxTrapper \ get_log \ email='user@example.com'
{- "apiversion": 3,
- "func": "get_log",
- "module": "BoxTrapper",
- "result": {
- "data": {
- "date": 1556812881,
- "lines": [
- "Processing email with trusted transport method."
], - "path": "/home/user/etc/example.com/user/boxtrapper/log/05-02-2019.log"
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}