Queries 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 leave this parameter empty, emails from all sender addresses are queried. Note
You can leave AccountName, TagName, and ToAddress empty. You can specify a value for only one of these parameters at a time. |
s***@example.net |
| ToAddress |
string |
No |
The recipient address. If you leave this parameter empty, emails sent to all recipient addresses are queried. |
b***@example.net |
| Status |
integer |
No |
The delivery status. If you leave this parameter empty, emails in all delivery statuses are queried. Valid values:
|
0 |
| StartTime |
string |
No |
The start time. The time range between the start time and the end time cannot exceed 30 days. The format is yyyy-MM-dd HH:mm. |
2021-04-28 00:00 |
| EndTime |
string |
No |
The end time. The time range between the start time and the end time cannot exceed 30 days. The format is yyyy-MM-dd HH:mm. |
2021-04-29 00:00 |
| TagName |
string |
No |
The email tag. If you leave this parameter empty, emails with all tags are queried. When you send an email using SMTP, specify the `TagName` and its value for the `X-AliDM-Trace` field. For more information, see the examples for email tracking. |
EmailQuestionnaireHelioscam |
| Length |
integer |
No |
The number of results to return. The value can range from 1 to 100. |
5 |
| NextStart |
string |
No |
The offset for this request, used for paging. If more results are available, set the `NextStart` parameter in your next request to this return value. |
90f0243616#203#a***@example.net-1658817837#a***@example.net.247475288187 |
| IpPoolId |
string |
No |
The ID of the independent 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 |
Used for paging. If more results are available, set the `NextStart` parameter in your next request to this return value. |
90f0243616#203#a***@example.net-1658817689#a***@example.net.247141122178 |
| RequestId |
string |
The request ID. |
B5AB8EBB-EE64-4BB2-B085-B92CC5DEDC41 |
| data |
object |
||
| mailDetail |
array<object> |
The detailed records. |
|
|
object |
|||
| Status |
integer |
The delivery status. 0: delivered successfully, 2: invalid address, 3: spam, 4: failed for other reasons. |
0 |
| LastUpdateTime |
string |
The time when the status was last updated. |
2021-04-28T17:11Z |
| Message |
string |
The detailed information about the delivery. |
250 Send Mail OK |
| ToAddress |
string |
The recipient address. |
b***@example.net |
| UtcLastUpdateTime |
string |
The time when the status was last updated, 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:
For more information about error descriptions, see Explanations of common failed_type values. |
SendOk |
| IpPoolId |
string |
The ID of the independent IP address pool. |
xxx |
| IpPoolName |
string |
The name of the independent 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.