QueryMailAddressByParam
Queries the list of sender addresses.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dm:QueryMailAddressByParam |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNo |
integer |
No |
The current page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 10. |
10 |
| KeyWord |
string |
No |
The email address. The value is 1 to 60 characters in length and can contain digits, letters, periods (.), hyphens (-), and at signs (@). |
account+@+domain |
| Sendtype |
string |
No |
The type of the sender address. Valid values:
|
batch |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageSize |
integer |
The number of entries per page. |
10 |
| RequestId |
string |
The request ID. |
95A7D497-F8DD-4834-B81E-C1783236E55F |
| PageNumber |
integer |
The current page number. |
1 |
| TotalCount |
integer |
The total number of entries. |
2 |
| data |
object |
||
| mailAddress |
array<object> |
The list of sender addresses. |
|
|
object |
|||
| MailAddressId |
string |
The ID of the sender address. |
12122 |
| MonthCount |
string |
The monthly quota limit. |
300000 |
| AccountStatus |
string |
The account status. Valid values:
|
0 |
| CreateTime |
string |
The time when the sender address was created. |
2019-09-29T13:28Z |
| ReplyStatus |
string |
The status of the reply-to address.
|
0 |
| Sendtype |
string |
The type of the sender address. Valid values:
|
batch |
| MonthReqCount |
string |
The monthly quota. |
20000 |
| ReplyAddress |
string |
The reply-to address. |
test@example.com |
| DailyReqCount |
string |
The daily quota. |
100 |
| DailyCount |
string |
The daily quota limit. |
10000 |
| DomainStatus |
string |
The domain status. Valid values:
|
0 |
| AccountName |
string |
The sender address. |
account+@+domain. |
| ConfigSetId |
string |
The ID of the associated configuration set. |
xxx |
| ConfigSetName |
string |
The name of the associated configuration set. |
xxx |
| AddressType |
string |
||
| MailAddressVerificationStatus |
string |
||
| SenderAddress |
string |
Examples
Success response
JSON format
{
"PageSize": 10,
"RequestId": "95A7D497-F8DD-4834-B81E-C1783236E55F",
"PageNumber": 1,
"TotalCount": 2,
"data": {
"mailAddress": [
{
"MailAddressId": "12122",
"MonthCount": "300000",
"AccountStatus": "0",
"CreateTime": "2019-09-29T13:28Z",
"ReplyStatus": "0",
"Sendtype": "batch",
"MonthReqCount": "20000",
"ReplyAddress": "test@example.com",
"DailyReqCount": "100",
"DailyCount": "10000",
"DomainStatus": "0",
"AccountName": "account+@+domain.",
"ConfigSetId": "xxx",
"ConfigSetName": "xxx",
"AddressType": "",
"MailAddressVerificationStatus": "",
"SenderAddress": ""
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.