tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getSesSendEmailStatus
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query detailed information of ses send_email_status
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const sendEmailStatus = tencentcloud.getSesSendEmailStatus({
messageId: "qcloudses-30-4123414323-date-20210101094334-syNARhMTbKI1",
requestDate: "2020-09-22",
toEmailAddress: "example@cloud.com",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
send_email_status = tencentcloud.get_ses_send_email_status(message_id="qcloudses-30-4123414323-date-20210101094334-syNARhMTbKI1",
request_date="2020-09-22",
to_email_address="example@cloud.com")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetSesSendEmailStatus(ctx, &tencentcloud.GetSesSendEmailStatusArgs{
MessageId: pulumi.StringRef("qcloudses-30-4123414323-date-20210101094334-syNARhMTbKI1"),
RequestDate: "2020-09-22",
ToEmailAddress: pulumi.StringRef("example@cloud.com"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var sendEmailStatus = Tencentcloud.GetSesSendEmailStatus.Invoke(new()
{
MessageId = "qcloudses-30-4123414323-date-20210101094334-syNARhMTbKI1",
RequestDate = "2020-09-22",
ToEmailAddress = "example@cloud.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetSesSendEmailStatusArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var sendEmailStatus = TencentcloudFunctions.getSesSendEmailStatus(GetSesSendEmailStatusArgs.builder()
.messageId("qcloudses-30-4123414323-date-20210101094334-syNARhMTbKI1")
.requestDate("2020-09-22")
.toEmailAddress("example@cloud.com")
.build());
}
}
variables:
sendEmailStatus:
fn::invoke:
function: tencentcloud:getSesSendEmailStatus
arguments:
messageId: qcloudses-30-4123414323-date-20210101094334-syNARhMTbKI1
requestDate: 2020-09-22
toEmailAddress: example@cloud.com
Using getSesSendEmailStatus
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSesSendEmailStatus(args: GetSesSendEmailStatusArgs, opts?: InvokeOptions): Promise<GetSesSendEmailStatusResult>
function getSesSendEmailStatusOutput(args: GetSesSendEmailStatusOutputArgs, opts?: InvokeOptions): Output<GetSesSendEmailStatusResult>
def get_ses_send_email_status(id: Optional[str] = None,
message_id: Optional[str] = None,
request_date: Optional[str] = None,
result_output_file: Optional[str] = None,
to_email_address: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSesSendEmailStatusResult
def get_ses_send_email_status_output(id: Optional[pulumi.Input[str]] = None,
message_id: Optional[pulumi.Input[str]] = None,
request_date: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
to_email_address: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSesSendEmailStatusResult]
func GetSesSendEmailStatus(ctx *Context, args *GetSesSendEmailStatusArgs, opts ...InvokeOption) (*GetSesSendEmailStatusResult, error)
func GetSesSendEmailStatusOutput(ctx *Context, args *GetSesSendEmailStatusOutputArgs, opts ...InvokeOption) GetSesSendEmailStatusResultOutput
> Note: This function is named GetSesSendEmailStatus
in the Go SDK.
public static class GetSesSendEmailStatus
{
public static Task<GetSesSendEmailStatusResult> InvokeAsync(GetSesSendEmailStatusArgs args, InvokeOptions? opts = null)
public static Output<GetSesSendEmailStatusResult> Invoke(GetSesSendEmailStatusInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSesSendEmailStatusResult> getSesSendEmailStatus(GetSesSendEmailStatusArgs args, InvokeOptions options)
public static Output<GetSesSendEmailStatusResult> getSesSendEmailStatus(GetSesSendEmailStatusArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getSesSendEmailStatus:getSesSendEmailStatus
arguments:
# arguments dictionary
The following arguments are supported:
- Request
Date string - Date sent. This parameter is required. You can only query the sending status for a single date at a time.
- Id string
- Message
Id string - The MessageId field returned by the SendMail API.
- Result
Output stringFile - Used to save results.
- To
Email stringAddress - Recipient email address.
- Request
Date string - Date sent. This parameter is required. You can only query the sending status for a single date at a time.
- Id string
- Message
Id string - The MessageId field returned by the SendMail API.
- Result
Output stringFile - Used to save results.
- To
Email stringAddress - Recipient email address.
- request
Date String - Date sent. This parameter is required. You can only query the sending status for a single date at a time.
- id String
- message
Id String - The MessageId field returned by the SendMail API.
- result
Output StringFile - Used to save results.
- to
Email StringAddress - Recipient email address.
- request
Date string - Date sent. This parameter is required. You can only query the sending status for a single date at a time.
- id string
- message
Id string - The MessageId field returned by the SendMail API.
- result
Output stringFile - Used to save results.
- to
Email stringAddress - Recipient email address.
- request_
date str - Date sent. This parameter is required. You can only query the sending status for a single date at a time.
- id str
- message_
id str - The MessageId field returned by the SendMail API.
- result_
output_ strfile - Used to save results.
- to_
email_ straddress - Recipient email address.
- request
Date String - Date sent. This parameter is required. You can only query the sending status for a single date at a time.
- id String
- message
Id String - The MessageId field returned by the SendMail API.
- result
Output StringFile - Used to save results.
- to
Email StringAddress - Recipient email address.
getSesSendEmailStatus Result
The following output properties are available:
- Email
Status List<GetLists Ses Send Email Status Email Status List> - Status of sent emails.
- Id string
- Request
Date string - Message
Id string - The MessageId field returned by the SendEmail API.
- Result
Output stringFile - To
Email stringAddress - Recipient email address.
- Email
Status []GetLists Ses Send Email Status Email Status List - Status of sent emails.
- Id string
- Request
Date string - Message
Id string - The MessageId field returned by the SendEmail API.
- Result
Output stringFile - To
Email stringAddress - Recipient email address.
- email
Status List<GetLists Ses Send Email Status Email Status List> - Status of sent emails.
- id String
- request
Date String - message
Id String - The MessageId field returned by the SendEmail API.
- result
Output StringFile - to
Email StringAddress - Recipient email address.
- email
Status GetLists Ses Send Email Status Email Status List[] - Status of sent emails.
- id string
- request
Date string - message
Id string - The MessageId field returned by the SendEmail API.
- result
Output stringFile - to
Email stringAddress - Recipient email address.
- email_
status_ Sequence[Getlists Ses Send Email Status Email Status List] - Status of sent emails.
- id str
- request_
date str - message_
id str - The MessageId field returned by the SendEmail API.
- result_
output_ strfile - to_
email_ straddress - Recipient email address.
- email
Status List<Property Map>Lists - Status of sent emails.
- id String
- request
Date String - message
Id String - The MessageId field returned by the SendEmail API.
- result
Output StringFile - to
Email StringAddress - Recipient email address.
Supporting Types
GetSesSendEmailStatusEmailStatusList
- Deliver
Message string - Description of the recipient processing status.
- Deliver
Status double - Recipient processing status0: Tencent Cloud has accepted the request and added it to the send queue.1: The email is delivered successfully. DeliverTime indicates the time when the email is delivered successfully.2: The email is discarded. DeliverMessage indicates the reason for discarding.3: The recipient's ESP rejects the email, probably because the email address does not exist or due to other reasons.8: The email is delayed by the ESP. DeliverMessage indicates the reason for delay.
- Deliver
Time double - Timestamp when Tencent Cloud delivers the email.
- From
Email stringAddress - Sender email address.
- Message
Id string - The MessageId field returned by the SendMail API.
- Request
Time double - Timestamp when the request arrives at Tencent Cloud.
- Send
Status double - Tencent Cloud processing status:
0
: Successful.1001
: Internal system exception.1002
: Internal system exception.1003
: Internal system exception.1003
: Internal system exception.1004
: Email sending timed out.1005
: Internal system exception.1006
: You have sent too many emails to the same address in a short period.1007
: The email address is in the blocklist.1008
: The sender domain is rejected by the recipient.1009
: Internal system exception.1010
: The daily email sending limit is exceeded.1011
: You have no permission to send custom content. Use a template.1013
: The sender domain is unsubscribed from by the recipient.2001
: No results were found.3007
: The template ID is invalid or the template is unavailable.3008
: The sender domain is temporarily blocked by the recipient domain.3009
: You have no permission to use this template.3010
: The format of the TemplateData field is incorrect.3014
: The email cannot be sent because the sender domain is not verified.3020
: The recipient email address is in the blocklist.3024
: Failed to precheck the email address format.3030
: Email sending is restricted temporarily due to a high bounce rate.3033
: The account has insufficient balance or overdue payment. - To
Email stringAddress - Recipient email address.
- User
Clicked bool - Whether the recipient has clicked the links in the email.
- User
Complainted bool - Whether the recipient has reported the sender.
- User
Opened bool - Whether the recipient has opened the email.
- User
Unsubscribed bool - Whether the recipient has unsubscribed from the email sent by the sender.
- Deliver
Message string - Description of the recipient processing status.
- Deliver
Status float64 - Recipient processing status0: Tencent Cloud has accepted the request and added it to the send queue.1: The email is delivered successfully. DeliverTime indicates the time when the email is delivered successfully.2: The email is discarded. DeliverMessage indicates the reason for discarding.3: The recipient's ESP rejects the email, probably because the email address does not exist or due to other reasons.8: The email is delayed by the ESP. DeliverMessage indicates the reason for delay.
- Deliver
Time float64 - Timestamp when Tencent Cloud delivers the email.
- From
Email stringAddress - Sender email address.
- Message
Id string - The MessageId field returned by the SendMail API.
- Request
Time float64 - Timestamp when the request arrives at Tencent Cloud.
- Send
Status float64 - Tencent Cloud processing status:
0
: Successful.1001
: Internal system exception.1002
: Internal system exception.1003
: Internal system exception.1003
: Internal system exception.1004
: Email sending timed out.1005
: Internal system exception.1006
: You have sent too many emails to the same address in a short period.1007
: The email address is in the blocklist.1008
: The sender domain is rejected by the recipient.1009
: Internal system exception.1010
: The daily email sending limit is exceeded.1011
: You have no permission to send custom content. Use a template.1013
: The sender domain is unsubscribed from by the recipient.2001
: No results were found.3007
: The template ID is invalid or the template is unavailable.3008
: The sender domain is temporarily blocked by the recipient domain.3009
: You have no permission to use this template.3010
: The format of the TemplateData field is incorrect.3014
: The email cannot be sent because the sender domain is not verified.3020
: The recipient email address is in the blocklist.3024
: Failed to precheck the email address format.3030
: Email sending is restricted temporarily due to a high bounce rate.3033
: The account has insufficient balance or overdue payment. - To
Email stringAddress - Recipient email address.
- User
Clicked bool - Whether the recipient has clicked the links in the email.
- User
Complainted bool - Whether the recipient has reported the sender.
- User
Opened bool - Whether the recipient has opened the email.
- User
Unsubscribed bool - Whether the recipient has unsubscribed from the email sent by the sender.
- deliver
Message String - Description of the recipient processing status.
- deliver
Status Double - Recipient processing status0: Tencent Cloud has accepted the request and added it to the send queue.1: The email is delivered successfully. DeliverTime indicates the time when the email is delivered successfully.2: The email is discarded. DeliverMessage indicates the reason for discarding.3: The recipient's ESP rejects the email, probably because the email address does not exist or due to other reasons.8: The email is delayed by the ESP. DeliverMessage indicates the reason for delay.
- deliver
Time Double - Timestamp when Tencent Cloud delivers the email.
- from
Email StringAddress - Sender email address.
- message
Id String - The MessageId field returned by the SendMail API.
- request
Time Double - Timestamp when the request arrives at Tencent Cloud.
- send
Status Double - Tencent Cloud processing status:
0
: Successful.1001
: Internal system exception.1002
: Internal system exception.1003
: Internal system exception.1003
: Internal system exception.1004
: Email sending timed out.1005
: Internal system exception.1006
: You have sent too many emails to the same address in a short period.1007
: The email address is in the blocklist.1008
: The sender domain is rejected by the recipient.1009
: Internal system exception.1010
: The daily email sending limit is exceeded.1011
: You have no permission to send custom content. Use a template.1013
: The sender domain is unsubscribed from by the recipient.2001
: No results were found.3007
: The template ID is invalid or the template is unavailable.3008
: The sender domain is temporarily blocked by the recipient domain.3009
: You have no permission to use this template.3010
: The format of the TemplateData field is incorrect.3014
: The email cannot be sent because the sender domain is not verified.3020
: The recipient email address is in the blocklist.3024
: Failed to precheck the email address format.3030
: Email sending is restricted temporarily due to a high bounce rate.3033
: The account has insufficient balance or overdue payment. - to
Email StringAddress - Recipient email address.
- user
Clicked Boolean - Whether the recipient has clicked the links in the email.
- user
Complainted Boolean - Whether the recipient has reported the sender.
- user
Opened Boolean - Whether the recipient has opened the email.
- user
Unsubscribed Boolean - Whether the recipient has unsubscribed from the email sent by the sender.
- deliver
Message string - Description of the recipient processing status.
- deliver
Status number - Recipient processing status0: Tencent Cloud has accepted the request and added it to the send queue.1: The email is delivered successfully. DeliverTime indicates the time when the email is delivered successfully.2: The email is discarded. DeliverMessage indicates the reason for discarding.3: The recipient's ESP rejects the email, probably because the email address does not exist or due to other reasons.8: The email is delayed by the ESP. DeliverMessage indicates the reason for delay.
- deliver
Time number - Timestamp when Tencent Cloud delivers the email.
- from
Email stringAddress - Sender email address.
- message
Id string - The MessageId field returned by the SendMail API.
- request
Time number - Timestamp when the request arrives at Tencent Cloud.
- send
Status number - Tencent Cloud processing status:
0
: Successful.1001
: Internal system exception.1002
: Internal system exception.1003
: Internal system exception.1003
: Internal system exception.1004
: Email sending timed out.1005
: Internal system exception.1006
: You have sent too many emails to the same address in a short period.1007
: The email address is in the blocklist.1008
: The sender domain is rejected by the recipient.1009
: Internal system exception.1010
: The daily email sending limit is exceeded.1011
: You have no permission to send custom content. Use a template.1013
: The sender domain is unsubscribed from by the recipient.2001
: No results were found.3007
: The template ID is invalid or the template is unavailable.3008
: The sender domain is temporarily blocked by the recipient domain.3009
: You have no permission to use this template.3010
: The format of the TemplateData field is incorrect.3014
: The email cannot be sent because the sender domain is not verified.3020
: The recipient email address is in the blocklist.3024
: Failed to precheck the email address format.3030
: Email sending is restricted temporarily due to a high bounce rate.3033
: The account has insufficient balance or overdue payment. - to
Email stringAddress - Recipient email address.
- user
Clicked boolean - Whether the recipient has clicked the links in the email.
- user
Complainted boolean - Whether the recipient has reported the sender.
- user
Opened boolean - Whether the recipient has opened the email.
- user
Unsubscribed boolean - Whether the recipient has unsubscribed from the email sent by the sender.
- deliver_
message str - Description of the recipient processing status.
- deliver_
status float - Recipient processing status0: Tencent Cloud has accepted the request and added it to the send queue.1: The email is delivered successfully. DeliverTime indicates the time when the email is delivered successfully.2: The email is discarded. DeliverMessage indicates the reason for discarding.3: The recipient's ESP rejects the email, probably because the email address does not exist or due to other reasons.8: The email is delayed by the ESP. DeliverMessage indicates the reason for delay.
- deliver_
time float - Timestamp when Tencent Cloud delivers the email.
- from_
email_ straddress - Sender email address.
- message_
id str - The MessageId field returned by the SendMail API.
- request_
time float - Timestamp when the request arrives at Tencent Cloud.
- send_
status float - Tencent Cloud processing status:
0
: Successful.1001
: Internal system exception.1002
: Internal system exception.1003
: Internal system exception.1003
: Internal system exception.1004
: Email sending timed out.1005
: Internal system exception.1006
: You have sent too many emails to the same address in a short period.1007
: The email address is in the blocklist.1008
: The sender domain is rejected by the recipient.1009
: Internal system exception.1010
: The daily email sending limit is exceeded.1011
: You have no permission to send custom content. Use a template.1013
: The sender domain is unsubscribed from by the recipient.2001
: No results were found.3007
: The template ID is invalid or the template is unavailable.3008
: The sender domain is temporarily blocked by the recipient domain.3009
: You have no permission to use this template.3010
: The format of the TemplateData field is incorrect.3014
: The email cannot be sent because the sender domain is not verified.3020
: The recipient email address is in the blocklist.3024
: Failed to precheck the email address format.3030
: Email sending is restricted temporarily due to a high bounce rate.3033
: The account has insufficient balance or overdue payment. - to_
email_ straddress - Recipient email address.
- user_
clicked bool - Whether the recipient has clicked the links in the email.
- user_
complainted bool - Whether the recipient has reported the sender.
- user_
opened bool - Whether the recipient has opened the email.
- user_
unsubscribed bool - Whether the recipient has unsubscribed from the email sent by the sender.
- deliver
Message String - Description of the recipient processing status.
- deliver
Status Number - Recipient processing status0: Tencent Cloud has accepted the request and added it to the send queue.1: The email is delivered successfully. DeliverTime indicates the time when the email is delivered successfully.2: The email is discarded. DeliverMessage indicates the reason for discarding.3: The recipient's ESP rejects the email, probably because the email address does not exist or due to other reasons.8: The email is delayed by the ESP. DeliverMessage indicates the reason for delay.
- deliver
Time Number - Timestamp when Tencent Cloud delivers the email.
- from
Email StringAddress - Sender email address.
- message
Id String - The MessageId field returned by the SendMail API.
- request
Time Number - Timestamp when the request arrives at Tencent Cloud.
- send
Status Number - Tencent Cloud processing status:
0
: Successful.1001
: Internal system exception.1002
: Internal system exception.1003
: Internal system exception.1003
: Internal system exception.1004
: Email sending timed out.1005
: Internal system exception.1006
: You have sent too many emails to the same address in a short period.1007
: The email address is in the blocklist.1008
: The sender domain is rejected by the recipient.1009
: Internal system exception.1010
: The daily email sending limit is exceeded.1011
: You have no permission to send custom content. Use a template.1013
: The sender domain is unsubscribed from by the recipient.2001
: No results were found.3007
: The template ID is invalid or the template is unavailable.3008
: The sender domain is temporarily blocked by the recipient domain.3009
: You have no permission to use this template.3010
: The format of the TemplateData field is incorrect.3014
: The email cannot be sent because the sender domain is not verified.3020
: The recipient email address is in the blocklist.3024
: Failed to precheck the email address format.3030
: Email sending is restricted temporarily due to a high bounce rate.3033
: The account has insufficient balance or overdue payment. - to
Email StringAddress - Recipient email address.
- user
Clicked Boolean - Whether the recipient has clicked the links in the email.
- user
Complainted Boolean - Whether the recipient has reported the sender.
- user
Opened Boolean - Whether the recipient has opened the email.
- user
Unsubscribed Boolean - Whether the recipient has unsubscribed from the email sent by the sender.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack