Retrieves email sending details.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dm:SenderStatisticsDetailByParam |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AccountName |
string |
No |
The sender address. If you do not specify this parameter, all sender addresses are queried. Note
You can leave AccountName, TagName, and ToAddress unspecified. If you specify any of these parameters, you can pass only one of them. You cannot pass a combination of two or more parameters. |
s***@example.net |
| ToAddress |
string |
No |
The recipient address. If you do not specify this parameter, all recipient addresses are queried. |
b***@example.net |
| Status |
integer |
No |
The delivery result. If you do not specify this parameter, all statuses are queried. Valid values:
|
0 |
| StartTime |
string |
No |
The start time. The time span between the start time and the end time cannot exceed 30 days. Format: yyyy-MM-dd HH:mm. |
2021-04-28 00:00 |
| EndTime |
string |
No |
The end time. The time span between the start time and the end time cannot exceed 30 days. Format: yyyy-MM-dd HH:mm. |
2021-04-29 00:00 |
| TagName |
string |
No |
The email tag. If you do not specify this parameter, all tags are queried. When you send emails over SMTP, refer to the email tracking example to specify the TagName field and its corresponding value for the X-AliDM-Trace field. |
EmailQuestionnaireHelioscam |
| Length |
integer |
No |
Specifies the number of results to return for the current request. Valid values: 1 to 100. |
5 |
| NextStart |
string |
No |
The offset for pagination. If more results are available, set the return value to the NextStart parameter in the next request. |
90f0243616#203#a***@example.net-1658817837#a***@example.net.247475288187 |
| IpPoolId |
string |
No |
The ID of the dedicated IP address pool. |
e42a4d8e-66e0-4ea3-88aa-74c66c661cef |
| ConfigSetId |
string |
No |
The ID of the configuration set. |
95437e39-5433-4c6c-8b66-0c4eac2f4d97 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextStart |
string |
The offset for pagination. If more results are available, set the return value to the NextStart parameter in the next request. |
90f0243616#203#a***@example.net-1658817689#a***@example.net.247141122178 |
| RequestId |
string |
The ID of the request. |
B5AB8EBB-EE64-4BB2-B085-B92CC5DEDC41 |
| data |
object |
||
| mailDetail |
array<object> |
The detailed records. |
|
|
object |
|||
| Status |
integer |
The delivery status. Valid values: 0 (Success), 2 (Invalid address), 3 (Spam), and 4 (Other failures). |
0 |
| LastUpdateTime |
string |
The update time in ISO 8601 UTC format, accurate to the minute. |
2021-04-28T17:11Z |
| Message |
string |
The delivery details. |
250 Send Mail OK |
| ToAddress |
string |
The recipient address. |
b***@example.net |
| UtcLastUpdateTime |
string |
The update time in UTC format. |
1619601108 |
| AccountName |
string |
The sender address. |
s***@example.net |
| Subject |
string |
The email subject. |
test subject |
| ErrorClassification |
string |
The detailed classification of the error cause. Valid values:
For more error descriptions, refer to Explanations of common failed_type values. |
SendOk |
| IpPoolId |
string |
The ID of the dedicated IP address pool. |
xxx |
| IpPoolName |
string |
The name of the dedicated IP address pool. |
xxx |
| ConfigSetId |
string |
The ID of the configuration set. |
xxx |
| ConfigSetName |
string |
The name of the configuration set. |
xxx |
Examples
Success response
JSON format
{
"NextStart": "90f0243616#203#a***@example.net-1658817689#a***@example.net.247141122178",
"RequestId": "B5AB8EBB-EE64-4BB2-B085-B92CC5DEDC41",
"data": {
"mailDetail": [
{
"Status": 0,
"LastUpdateTime": "2021-04-28T17:11Z",
"Message": "250 Send Mail OK",
"ToAddress": "b***@example.net",
"UtcLastUpdateTime": "1619601108",
"AccountName": "s***@example.net",
"Subject": "test subject",
"ErrorClassification": "SendOk",
"IpPoolId": "xxx",
"IpPoolName": "xxx",
"ConfigSetId": "xxx",
"ConfigSetName": "xxx"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.