v20201002

package
v3.0.1358+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CAM token authentication failure.
	AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// The attachments are too large. Make sure they do not exceed the size limit for a single attachment and the overall limit for all attachments.
	FAILEDOPERATION_ATTACHCONTENTTOOLARGE = "FailedOperation.AttachContentToolarge"

	// The email address is in the blocklist.
	FAILEDOPERATION_EMAILADDRINBLACKLIST = "FailedOperation.EmailAddrInBlacklist"

	// The email is too large. Remove some content.
	FAILEDOPERATION_EMAILCONTENTTOOLARGE = "FailedOperation.EmailContentToolarge"

	// The number of emails exceeds the daily sending limit.
	FAILEDOPERATION_EXCEEDSENDLIMIT = "FailedOperation.ExceedSendLimit"

	// The number of templates exceeds the upper limit.
	FAILEDOPERATION_EXCEEDTEMPLATELIMIT = "FailedOperation.ExceedTemplateLimit"

	// URL is unavailable or not found.
	FAILEDOPERATION_FILEURLNOTEXIST = "FailedOperation.FileURLNotExist"

	// You have sent too many emails to the same address in a short period.
	FAILEDOPERATION_FREQUENCYLIMIT = "FailedOperation.FrequencyLimit"

	// The email has been blocked temporarily due to high rejection rate.
	FAILEDOPERATION_HIGHREJECTIONRATE = "FailedOperation.HighRejectionRate"

	// Mail contains non-compliant link.
	FAILEDOPERATION_ILLEGALURL = "FailedOperation.IllegalURL"

	// Incorrect email address.
	FAILEDOPERATION_INCORRECTEMAIL = "FailedOperation.IncorrectEmail"

	// Incorrect sender format. Follow the sample in this document.
	FAILEDOPERATION_INCORRECTSENDER = "FailedOperation.IncorrectSender"

	// Insufficient balance or account in arrears.
	FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"

	// Insufficient emails in plans.
	FAILEDOPERATION_INSUFFICIENTQUOTA = "FailedOperation.InsufficientQuota"

	// Unsupported attachment name. please check whether the attachment name contains special characters. for details, see the appendix attachment description (https://www.tencentcloud.comom/document/product/1288/51951?from_cn_redirect=1).
	FAILEDOPERATION_INVALIDATTACHNAME = "FailedOperation.InvalidAttachName"

	// Reached the query limit (100).
	FAILEDOPERATION_INVALIDLIMIT = "FailedOperation.InvalidLimit"

	// Invalid template ID or unavailable template.
	FAILEDOPERATION_INVALIDTEMPLATEID = "FailedOperation.InvalidTemplateID"

	// Missing email content (`TemplateData` and `Simple` cannot be both empty).
	FAILEDOPERATION_MISSINGEMAILCONTENT = "FailedOperation.MissingEmailContent"

	// No permission to send an email with attachments.
	FAILEDOPERATION_NOATTACHPERMISSION = "FailedOperation.NoAttachPermission"

	// Unable to send because the sender is not verified.
	FAILEDOPERATION_NOTAUTHENTICATEDSENDER = "FailedOperation.NotAuthenticatedSender"

	// You cannot query email records for this date. Only data within 90 days can be queried.
	FAILEDOPERATION_NOTSUPPORTDATE = "FailedOperation.NotSupportDate"

	// Incorrect protocol. Make sure the protocol is correct.
	FAILEDOPERATION_PROTOCOLCHECKERR = "FailedOperation.ProtocolCheckErr"

	// The recipient has unsubscribed.
	FAILEDOPERATION_RECEIVERHASUNSUBSCRIBED = "FailedOperation.ReceiverHasUnsubscribed"

	// The message was rejected by the recipient.
	FAILEDOPERATION_REJECTEDBYRECIPIENTS = "FailedOperation.RejectedByRecipients"

	// Email sending error. Please submit a ticket to us for troubleshooting.
	FAILEDOPERATION_SENDEMAILERR = "FailedOperation.SendEmailErr"

	// The request has not taken effect. Try again.
	FAILEDOPERATION_SERVICENOTAVAILABLE = "FailedOperation.ServiceNotAvailable"

	// The template size is too large. Reduce the size.
	FAILEDOPERATION_TEMPLATECONTENTTOOLARGE = "FailedOperation.TemplateContentToolarge"

	// The email push platform will suspend sending emails to the service provider for 10 minutes due to the corresponding recipient service provider's limit. it will be automatically released after 10 minutes.
	FAILEDOPERATION_TEMPORARYBLOCKED = "FailedOperation.TemporaryBlocked"

	// Too many attachments. A single email supports up to 10 attachments.
	FAILEDOPERATION_TOOMANYATTACHMENTS = "FailedOperation.TooManyAttachments"

	// Too many recipients. Set a maximum of 50 recipients at a time.
	FAILEDOPERATION_TOOMANYRECIPIENTS = "FailedOperation.TooManyRecipients"

	// Forbid users with low delivery rate to include URL webpage links in email content.
	FAILEDOPERATION_URLFORBIDDEN = "FailedOperation.URLForbidden"

	// Unsupported email type.
	FAILEDOPERATION_UNSUPPORTMAILTYPE = "FailedOperation.UnsupportMailType"

	// You can only send emails by using a template.
	FAILEDOPERATION_WITHOUTPERMISSION = "FailedOperation.WithOutPermission"

	// The format of the `TemplateData` field is incorrect. Make sure it is in JSON format.
	FAILEDOPERATION_WRONGCONTENTJSON = "FailedOperation.WrongContentJson"

	// Internal error.
	INTERNALERROR = "InternalError"

	// Query database timeout or fail.
	INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDataBaseFailed"

	// Incorrect parameter.
	INVALIDPARAMETER = "InvalidParameter"

	// AppId does not exist.
	INVALIDPARAMETER_APPIDISREQUIRED = "InvalidParameter.AppIdIsRequired"

	// End time format error.
	INVALIDPARAMETER_INVALIDENDTIMEFORMAT = "InvalidParameter.InvalidEndTimeFormat"

	// Start time format error.
	INVALIDPARAMETER_INVALIDSTARTTIMEFORMAT = "InvalidParameter.InvalidStartTimeFormat"

	// Invalid parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// Incorrect attachment content. Make sure the base64 content is correct.
	INVALIDPARAMETERVALUE_ATTACHCONTENTISWRONG = "InvalidParameterValue.AttachContentIsWrong"

	// The start time cannot be earlier than the current time.
	INVALIDPARAMETERVALUE_BEGINTIMEBEFORENOW = "InvalidParameterValue.BeginTimeBeforeNow"

	// This sender domain has been created by another Tencent Cloud account.
	INVALIDPARAMETERVALUE_CREATEDBYOTHER = "InvalidParameterValue.CreatedByOther"

	// The recipient or sender address is empty. Please check.
	INVALIDPARAMETERVALUE_EMAILADDRESSISNULL = "InvalidParameterValue.EmailAddressIsNULL"

	// Incorrect email content. Make sure TEXT/HTML base64 is correct.
	INVALIDPARAMETERVALUE_EMAILCONTENTISWRONG = "InvalidParameterValue.EmailContentIsWrong"

	// Invalid email address. Make sure the address format is correct.
	INVALIDPARAMETERVALUE_ILLEGALEMAILADDRESS = "InvalidParameterValue.IllegalEmailAddress"

	// The sender alias is incorrect.
	INVALIDPARAMETERVALUE_ILLEGALSENDERNAME = "InvalidParameterValue.IllegalSenderName"

	// The template parameter attached to the recipient address cannot contain html tags.
	INVALIDPARAMETERVALUE_INVALIDTEMPLATEDATA = "InvalidParameterValue.InValidTemplateData"

	// Invalid domain value.
	INVALIDPARAMETERVALUE_INVALIDEMAILIDENTITY = "InvalidParameterValue.InvalidEmailIdentity"

	// The password can contain 10-20 characters and must contain at least 2 unique digits, lowercase letters, and uppercase letters.
	INVALIDPARAMETERVALUE_INVALIDSMTPPASSWORD = "InvalidParameterValue.InvalidSmtpPassWord"

	// You don’t have the sender address. Check if it exists.
	INVALIDPARAMETERVALUE_NOSUCHSENDER = "InvalidParameterValue.NoSuchSender"

	// This sender domain does not exist. Create it first.
	INVALIDPARAMETERVALUE_NOTEXISTDOMAIN = "InvalidParameterValue.NotExistDomain"

	// Invalid recipient group description. The description cannot contain special characters and must contain 1 to 300 characters.
	INVALIDPARAMETERVALUE_RECEIVERDESCILLEGAL = "InvalidParameterValue.ReceiverDescIllegal"

	// The recipient address is incorrect.
	INVALIDPARAMETERVALUE_RECEIVEREMAILINVALID = "InvalidParameterValue.ReceiverEmailInvalid"

	// Invalid recipient group name. Check the name and its size.
	INVALIDPARAMETERVALUE_RECEIVERNAMEILLEGAL = "InvalidParameterValue.ReceiverNameIllegal"

	// This sender domain already exists. Do not create it again.
	INVALIDPARAMETERVALUE_REPEATCREATION = "InvalidParameterValue.RepeatCreation"

	// This email address already exists. Do not create it again.
	INVALIDPARAMETERVALUE_REPEATEMAILADDRESS = "InvalidParameterValue.RepeatEmailAddress"

	// Duplicate recipient group name.
	INVALIDPARAMETERVALUE_REPEATRECEIVERNAME = "InvalidParameterValue.RepeatReceiverName"

	// The email subject must contain 1 to 100 characters.
	INVALIDPARAMETERVALUE_SUBJECTLENGTHERROR = "InvalidParameterValue.SubjectLengthError"

	// The template resource is empty.
	INVALIDPARAMETERVALUE_TEMPLATECONTENTISNULL = "InvalidParameterValue.TemplateContentIsNULL"

	// Incorrect template content. Make sure the Base64 content is correct.
	INVALIDPARAMETERVALUE_TEMPLATECONTENTISWRONG = "InvalidParameterValue.TemplateContentIsWrong"

	// Template parameters must be in JSON format.
	INVALIDPARAMETERVALUE_TEMPLATEDATAERROR = "InvalidParameterValue.TemplateDataError"

	// The name of a template parameter variable is not the same as the original name.
	INVALIDPARAMETERVALUE_TEMPLATEDATAINCONSISTENT = "InvalidParameterValue.TemplateDataInconsistent"

	// The template parameter (entire JSON structure) attached to a single recipient address exceeds the length limit of 800 bytes.
	INVALIDPARAMETERVALUE_TEMPLATEDATALENLIMIT = "InvalidParameterValue.TemplateDataLenLimit"

	// Invalid template name. Make sure the characters and length of the template name are valid.
	INVALIDPARAMETERVALUE_TEMPLATENAMEILLEGAL = "InvalidParameterValue.TemplateNameIllegal"

	// The template name cannot be empty.
	INVALIDPARAMETERVALUE_TEMPLATENAMEISNULL = "InvalidParameterValue.TemplateNameIsNULL"

	// The template does not exist. Please create a template.
	INVALIDPARAMETERVALUE_TEMPLATENOTEXIST = "InvalidParameterValue.TemplateNotExist"

	// Template variables do not match recipient list parameters.
	INVALIDPARAMETERVALUE_TEMPLATENOTMATCHDATA = "InvalidParameterValue.TemplateNotMatchData"

	// Incorrect search date. Make sure the date and its format are valid.
	INVALIDPARAMETERVALUE_WRONGDATE = "InvalidParameterValue.WrongDate"

	// The quota limit is exceeded.
	LIMITEXCEEDED = "LimitExceeded"

	// The number of recipient groups exceeded the limit.
	LIMITEXCEEDED_EXCEEDRECEIVERLIMIT = "LimitExceeded.ExceedReceiverLimit"

	// The number of recipient addresses in the recipient group exceeds the limit.
	LIMITEXCEEDED_RECEIVERDETAILCOUNTLIMIT = "LimitExceeded.ReceiverDetailCountLimit"

	// The number of recipient addresses requested exceeds the limit.
	LIMITEXCEEDED_RECEIVERDETAILREQUESTLIMIT = "LimitExceeded.ReceiverDetailRequestLimit"

	// Missing parameter.
	MISSINGPARAMETER = "MissingParameter"

	// For a recurring sending task, you must select the start time and recurrence.
	MISSINGPARAMETER_CYCLEPARAMNECESSARY = "MissingParameter.CycleParamNecessary"

	// The recipient email address is required.
	MISSINGPARAMETER_EMAILSNECESSARY = "MissingParameter.EmailsNecessary"

	// The recipient group ID is required.
	MISSINGPARAMETER_RECEIVERIDNECESSARY = "MissingParameter.ReceiverIdNecessary"

	// Sender address, recipient group, and email template are required.
	MISSINGPARAMETER_SENDPARAMNECESSARY = "MissingParameter.SendParamNecessary"

	// For a scheduled sending task, you must select the start time.
	MISSINGPARAMETER_TIMEDPARAMNECESSARY = "MissingParameter.TimedParamNecessary"

	// Operation denied.
	OPERATIONDENIED = "OperationDenied"

	// Domain verification failed. Check whether the domain has passed verification.
	OPERATIONDENIED_DOMAINNOTVERIFIED = "OperationDenied.DomainNotVerified"

	// The number of sender domains exceeds the upper limit.
	OPERATIONDENIED_EXCEEDDOMAINLIMIT = "OperationDenied.ExceedDomainLimit"

	// The number of sender addresses exceeds the upper limit.
	OPERATIONDENIED_EXCEEDSENDERLIMIT = "OperationDenied.ExceedSenderLimit"

	// Domain name cannot be deleted.
	OPERATIONDENIED_NOTALLOWDELETE = "OperationDenied.NotAllowDelete"

	// The recipient group is being uploaded. Try again later.
	OPERATIONDENIED_RECEIVERISOPERATING = "OperationDenied.ReceiverIsOperating"

	// The recipient group does not exist.
	OPERATIONDENIED_RECEIVERNOTEXIST = "OperationDenied.ReceiverNotExist"

	// The recipient group is empty or hasn’t been completely uploaded.
	OPERATIONDENIED_RECEIVERSTATUSERROR = "OperationDenied.ReceiverStatusError"

	// The password cannot be the same as the last set password.
	OPERATIONDENIED_REPEATPASSWORD = "OperationDenied.RepeatPassWord"

	// The sender address does not exist or hasn’t been approved.
	OPERATIONDENIED_SENDADDRESSSTATUSERROR = "OperationDenied.SendAddressStatusError"

	// The sender address related to that domain name is not empty.
	OPERATIONDENIED_SENDERWITHDOMAINISNOTEMPTY = "OperationDenied.SenderWithDomainIsNotEmpty"

	// The email template does not exist or hasn’t been approved.
	OPERATIONDENIED_TEMPLATESTATUSERROR = "OperationDenied.TemplateStatusError"

	// The number of requests exceeds the frequency limit.
	REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

	// Insufficient resources.
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

	// The resource does not exist.
	RESOURCENOTFOUND = "ResourceNotFound"

	// The resource is unavailable.
	RESOURCEUNAVAILABLE = "ResourceUnavailable"

	// Unknown parameter error.
	UNKNOWNPARAMETER = "UnknownParameter"

	// Unsupported operation.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"
)
View Source
const APIVersion = "2020-10-02"

Variables

This section is empty.

Functions

This section is empty.

Types

type AbuseReport

type AbuseReport struct {
	// Send time.
	DeliverTime *string `json:"DeliverTime,omitnil,omitempty" name:"DeliverTime"`

	// Sender address.
	OriginalMailFrom *string `json:"OriginalMailFrom,omitnil,omitempty" name:"OriginalMailFrom"`

	// Receive email.
	OriginalRcptTo *string `json:"OriginalRcptTo,omitnil,omitempty" name:"OriginalRcptTo"`

	// Sender domain name.
	FromDomain *string `json:"FromDomain,omitnil,omitempty" name:"FromDomain"`

	// Complaint time.
	ComplainTime *string `json:"ComplainTime,omitnil,omitempty" name:"ComplainTime"`

	// Recipient domain name.
	Mta *string `json:"Mta,omitnil,omitempty" name:"Mta"`

	// Source IP
	SourceIp *string `json:"SourceIp,omitnil,omitempty" name:"SourceIp"`

	// Data time.
	InsertTime *string `json:"InsertTime,omitnil,omitempty" name:"InsertTime"`

	// Template ID
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// bulkId
	BulkId *string `json:"BulkId,omitnil,omitempty" name:"BulkId"`

	// Message-Id in mail.
	MessageId *string `json:"MessageId,omitnil,omitempty" name:"MessageId"`

	// Complaint time.
	AbuseTime *string `json:"AbuseTime,omitnil,omitempty" name:"AbuseTime"`

	// Email subject.
	Subject *string `json:"Subject,omitnil,omitempty" name:"Subject"`
}

type AddressUnsubscribeConfigData

type AddressUnsubscribeConfigData struct {
	// Sender address.
	Address *string `json:"Address,omitnil,omitempty" name:"Address"`

	// Unsubscription link option 0: do not include unsubscription link 1: simplified chinese 2: english 3: traditional chinese 4: spanish 5: french 6: german 7: japanese 8: korean 9: arabic 10: thai.
	UnsubscribeConfig *string `json:"UnsubscribeConfig,omitnil,omitempty" name:"UnsubscribeConfig"`

	// 0: disabled; 1: enabled.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type Attachment

type Attachment struct {
	// Attachment name, which cannot exceed 255 characters. Some attachment types are not supported. For details, see [Attachment Types](https://intl.cloud.tencent.com/document/product/1288/51951?from_cn_redirect=1).
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// The Base64-encoded attachment content supports a maximum of 4M. note: tencent cloud API supports up to 8M request packets. the attachment content is expected to expand by 1.5 times after Base64 encoding. you should control the total size of all attachments within 4M. the API will return an error if the overall request exceeds 8M.
	Content *string `json:"Content,omitnil,omitempty" name:"Content"`

	// Attachment URL. do not use the open function.
	FileURL *string `json:"FileURL,omitnil,omitempty" name:"FileURL"`
}

type BatchSendEmailRequest

type BatchSendEmailRequest struct {
	*tchttp.BaseRequest

	// Sender'S email address. please fill in the sender's email address, such as noreply@mail.qcloud.com. if you need to fill in the sender's description, please follow.
	// Sender <email address> via fill in, such as:.
	// Tencent cloud team <noreply@mail.qcloud.com>.
	FromEmailAddress *string `json:"FromEmailAddress,omitnil,omitempty" name:"FromEmailAddress"`

	// Recipient list ID.
	ReceiverId *uint64 `json:"ReceiverId,omitnil,omitempty" name:"ReceiverId"`

	// Email subject.
	Subject *string `json:"Subject,omitnil,omitempty" name:"Subject"`

	// Task type 1: send now 2: scheduled sending 3: cycle (frequency) sending.
	TaskType *uint64 `json:"TaskType,omitnil,omitempty" name:"TaskType"`

	// The "reply" email address of the mail. can be filled with an email address you can receive mail from, can be a personal mailbox. if left empty, the recipient's reply mail will fail to send.
	ReplyToAddresses *string `json:"ReplyToAddresses,omitnil,omitempty" name:"ReplyToAddresses"`

	// When using a template to send, fill in the related parameters of the template.
	// <Dx-Alert infotype="notice" title="note">this field must be specified if you have not applied for special configuration.</dx-alert>.
	Template *Template `json:"Template,omitnil,omitempty" name:"Template"`

	// Abandoned<Dx-Alert infotype="notice" title="description">only customers who historically applied for special configuration require the use of it. if you have not applied for special configuration, this field does not exist.</dx-alert>.
	Simple *Simple `json:"Simple,omitnil,omitempty" name:"Simple"`

	// Send attachment when required. fill in related parameters (not supported).
	Attachments []*Attachment `json:"Attachments,omitnil,omitempty" name:"Attachments"`

	// Required parameter for sending tasks periodically.
	CycleParam *CycleEmailParam `json:"CycleParam,omitnil,omitempty" name:"CycleParam"`

	// Required parameter for scheduled task assignment.
	TimedParam *TimedEmailParam `json:"TimedParam,omitnil,omitempty" name:"TimedParam"`

	// Unsubscription link options 0: do not add 1: english 2: simplified chinese 3: traditional chinese 4: spanish 5: french 6: german 7: japanese 8: korean 9: arabic 10: thai.
	Unsubscribe *string `json:"Unsubscribe,omitnil,omitempty" name:"Unsubscribe"`

	// Whether to add an ad flag. valid values: 0 (do not add), 1 (add to the previous subject), 2 (add to the following subject).
	ADLocation *uint64 `json:"ADLocation,omitnil,omitempty" name:"ADLocation"`
}

func NewBatchSendEmailRequest

func NewBatchSendEmailRequest() (request *BatchSendEmailRequest)

func (*BatchSendEmailRequest) FromJsonString

func (r *BatchSendEmailRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BatchSendEmailRequest) ToJsonString

func (r *BatchSendEmailRequest) ToJsonString() string

type BatchSendEmailRequestParams

type BatchSendEmailRequestParams struct {
	// Sender'S email address. please fill in the sender's email address, such as noreply@mail.qcloud.com. if you need to fill in the sender's description, please follow.
	// Sender &lt;email address&gt; via fill in, such as:.
	// Tencent cloud team &lt;noreply@mail.qcloud.com&gt;.
	FromEmailAddress *string `json:"FromEmailAddress,omitnil,omitempty" name:"FromEmailAddress"`

	// Recipient list ID.
	ReceiverId *uint64 `json:"ReceiverId,omitnil,omitempty" name:"ReceiverId"`

	// Email subject.
	Subject *string `json:"Subject,omitnil,omitempty" name:"Subject"`

	// Task type 1: send now 2: scheduled sending 3: cycle (frequency) sending.
	TaskType *uint64 `json:"TaskType,omitnil,omitempty" name:"TaskType"`

	// The "reply" email address of the mail. can be filled with an email address you can receive mail from, can be a personal mailbox. if left empty, the recipient's reply mail will fail to send.
	ReplyToAddresses *string `json:"ReplyToAddresses,omitnil,omitempty" name:"ReplyToAddresses"`

	// When using a template to send, fill in the related parameters of the template.
	// <Dx-Alert infotype="notice" title="note">this field must be specified if you have not applied for special configuration.</dx-alert>.
	Template *Template `json:"Template,omitnil,omitempty" name:"Template"`

	// Abandoned<Dx-Alert infotype="notice" title="description">only customers who historically applied for special configuration require the use of it. if you have not applied for special configuration, this field does not exist.</dx-alert>.
	Simple *Simple `json:"Simple,omitnil,omitempty" name:"Simple"`

	// Send attachment when required. fill in related parameters (not supported).
	Attachments []*Attachment `json:"Attachments,omitnil,omitempty" name:"Attachments"`

	// Required parameter for sending tasks periodically.
	CycleParam *CycleEmailParam `json:"CycleParam,omitnil,omitempty" name:"CycleParam"`

	// Required parameter for scheduled task assignment.
	TimedParam *TimedEmailParam `json:"TimedParam,omitnil,omitempty" name:"TimedParam"`

	// Unsubscription link options 0: do not add 1: english 2: simplified chinese 3: traditional chinese 4: spanish 5: french 6: german 7: japanese 8: korean 9: arabic 10: thai.
	Unsubscribe *string `json:"Unsubscribe,omitnil,omitempty" name:"Unsubscribe"`

	// Whether to add an ad flag. valid values: 0 (do not add), 1 (add to the previous subject), 2 (add to the following subject).
	ADLocation *uint64 `json:"ADLocation,omitnil,omitempty" name:"ADLocation"`
}

Predefined struct for user

type BatchSendEmailResponse

type BatchSendEmailResponse struct {
	*tchttp.BaseResponse
	Response *BatchSendEmailResponseParams `json:"Response"`
}

func NewBatchSendEmailResponse

func NewBatchSendEmailResponse() (response *BatchSendEmailResponse)

func (*BatchSendEmailResponse) FromJsonString

func (r *BatchSendEmailResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BatchSendEmailResponse) ToJsonString

func (r *BatchSendEmailResponse) ToJsonString() string

type BatchSendEmailResponseParams

type BatchSendEmailResponseParams struct {
	// Send task ID.
	TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type BlackAddressDetail

type BlackAddressDetail struct {
	// Blocklist address id.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// Email address.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// Creation time.
	//
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Expiration time
	ExpireDate *string `json:"ExpireDate,omitnil,omitempty" name:"ExpireDate"`

	// Blocklist status. valid values: 0 (expired), 1 (active).
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type BlackEmailAddress

type BlackEmailAddress struct {
	// Time when the email address is blocklisted.
	BounceTime *string `json:"BounceTime,omitnil,omitempty" name:"BounceTime"`

	// Blocklisted email address.
	EmailAddress *string `json:"EmailAddress,omitnil,omitempty" name:"EmailAddress"`

	// Reason for being blacklisted.
	IspDesc *string `json:"IspDesc,omitnil,omitempty" name:"IspDesc"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) BatchSendEmail

func (c *Client) BatchSendEmail(request *BatchSendEmailRequest) (response *BatchSendEmailResponse, err error)

BatchSendEmail This API is used to send a TEXT or HTML email to multiple recipients at a time for marketing or notification purposes. By default, you can send emails using a template only. You need to create a recipient group with email addresses first and then send emails by group ID. SES supports scheduled and recurring email sending tasks. You need to pass in `TimedParam` for a scheduled task and `CycleParam` for a recurring one.

error code that may be returned:

FAILEDOPERATION_EMAILCONTENTTOOLARGE = "FailedOperation.EmailContentToolarge"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_BEGINTIMEBEFORENOW = "InvalidParameterValue.BeginTimeBeforeNow"
INVALIDPARAMETERVALUE_EMAILCONTENTISWRONG = "InvalidParameterValue.EmailContentIsWrong"
INVALIDPARAMETERVALUE_SUBJECTLENGTHERROR = "InvalidParameterValue.SubjectLengthError"
INVALIDPARAMETERVALUE_TEMPLATEDATAERROR = "InvalidParameterValue.TemplateDataError"
INVALIDPARAMETERVALUE_TEMPLATENOTMATCHDATA = "InvalidParameterValue.TemplateNotMatchData"
MISSINGPARAMETER_CYCLEPARAMNECESSARY = "MissingParameter.CycleParamNecessary"
MISSINGPARAMETER_SENDPARAMNECESSARY = "MissingParameter.SendParamNecessary"
MISSINGPARAMETER_TIMEDPARAMNECESSARY = "MissingParameter.TimedParamNecessary"
OPERATIONDENIED_RECEIVERNOTEXIST = "OperationDenied.ReceiverNotExist"
OPERATIONDENIED_RECEIVERSTATUSERROR = "OperationDenied.ReceiverStatusError"
OPERATIONDENIED_SENDADDRESSSTATUSERROR = "OperationDenied.SendAddressStatusError"
OPERATIONDENIED_TEMPLATESTATUSERROR = "OperationDenied.TemplateStatusError"

func (*Client) BatchSendEmailWithContext

func (c *Client) BatchSendEmailWithContext(ctx context.Context, request *BatchSendEmailRequest) (response *BatchSendEmailResponse, err error)

BatchSendEmail This API is used to send a TEXT or HTML email to multiple recipients at a time for marketing or notification purposes. By default, you can send emails using a template only. You need to create a recipient group with email addresses first and then send emails by group ID. SES supports scheduled and recurring email sending tasks. You need to pass in `TimedParam` for a scheduled task and `CycleParam` for a recurring one.

error code that may be returned:

FAILEDOPERATION_EMAILCONTENTTOOLARGE = "FailedOperation.EmailContentToolarge"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_BEGINTIMEBEFORENOW = "InvalidParameterValue.BeginTimeBeforeNow"
INVALIDPARAMETERVALUE_EMAILCONTENTISWRONG = "InvalidParameterValue.EmailContentIsWrong"
INVALIDPARAMETERVALUE_SUBJECTLENGTHERROR = "InvalidParameterValue.SubjectLengthError"
INVALIDPARAMETERVALUE_TEMPLATEDATAERROR = "InvalidParameterValue.TemplateDataError"
INVALIDPARAMETERVALUE_TEMPLATENOTMATCHDATA = "InvalidParameterValue.TemplateNotMatchData"
MISSINGPARAMETER_CYCLEPARAMNECESSARY = "MissingParameter.CycleParamNecessary"
MISSINGPARAMETER_SENDPARAMNECESSARY = "MissingParameter.SendParamNecessary"
MISSINGPARAMETER_TIMEDPARAMNECESSARY = "MissingParameter.TimedParamNecessary"
OPERATIONDENIED_RECEIVERNOTEXIST = "OperationDenied.ReceiverNotExist"
OPERATIONDENIED_RECEIVERSTATUSERROR = "OperationDenied.ReceiverStatusError"
OPERATIONDENIED_SENDADDRESSSTATUSERROR = "OperationDenied.SendAddressStatusError"
OPERATIONDENIED_TEMPLATESTATUSERROR = "OperationDenied.TemplateStatusError"

func (*Client) CreateAddressUnsubscribeConfig

func (c *Client) CreateAddressUnsubscribeConfig(request *CreateAddressUnsubscribeConfigRequest) (response *CreateAddressUnsubscribeConfigResponse, err error)

CreateAddressUnsubscribeConfig This API is used to create an address-level unsubscribe configuration.

error code that may be returned:

FAILEDOPERATION_EMAILCONTENTTOOLARGE = "FailedOperation.EmailContentToolarge"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_BEGINTIMEBEFORENOW = "InvalidParameterValue.BeginTimeBeforeNow"
INVALIDPARAMETERVALUE_EMAILCONTENTISWRONG = "InvalidParameterValue.EmailContentIsWrong"
INVALIDPARAMETERVALUE_SUBJECTLENGTHERROR = "InvalidParameterValue.SubjectLengthError"
INVALIDPARAMETERVALUE_TEMPLATEDATAERROR = "InvalidParameterValue.TemplateDataError"
INVALIDPARAMETERVALUE_TEMPLATENOTMATCHDATA = "InvalidParameterValue.TemplateNotMatchData"
MISSINGPARAMETER_CYCLEPARAMNECESSARY = "MissingParameter.CycleParamNecessary"
MISSINGPARAMETER_SENDPARAMNECESSARY = "MissingParameter.SendParamNecessary"
MISSINGPARAMETER_TIMEDPARAMNECESSARY = "MissingParameter.TimedParamNecessary"
OPERATIONDENIED_RECEIVERNOTEXIST = "OperationDenied.ReceiverNotExist"
OPERATIONDENIED_RECEIVERSTATUSERROR = "OperationDenied.ReceiverStatusError"
OPERATIONDENIED_SENDADDRESSSTATUSERROR = "OperationDenied.SendAddressStatusError"
OPERATIONDENIED_TEMPLATESTATUSERROR = "OperationDenied.TemplateStatusError"

func (*Client) CreateAddressUnsubscribeConfigWithContext

func (c *Client) CreateAddressUnsubscribeConfigWithContext(ctx context.Context, request *CreateAddressUnsubscribeConfigRequest) (response *CreateAddressUnsubscribeConfigResponse, err error)

CreateAddressUnsubscribeConfig This API is used to create an address-level unsubscribe configuration.

error code that may be returned:

FAILEDOPERATION_EMAILCONTENTTOOLARGE = "FailedOperation.EmailContentToolarge"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_BEGINTIMEBEFORENOW = "InvalidParameterValue.BeginTimeBeforeNow"
INVALIDPARAMETERVALUE_EMAILCONTENTISWRONG = "InvalidParameterValue.EmailContentIsWrong"
INVALIDPARAMETERVALUE_SUBJECTLENGTHERROR = "InvalidParameterValue.SubjectLengthError"
INVALIDPARAMETERVALUE_TEMPLATEDATAERROR = "InvalidParameterValue.TemplateDataError"
INVALIDPARAMETERVALUE_TEMPLATENOTMATCHDATA = "InvalidParameterValue.TemplateNotMatchData"
MISSINGPARAMETER_CYCLEPARAMNECESSARY = "MissingParameter.CycleParamNecessary"
MISSINGPARAMETER_SENDPARAMNECESSARY = "MissingParameter.SendParamNecessary"
MISSINGPARAMETER_TIMEDPARAMNECESSARY = "MissingParameter.TimedParamNecessary"
OPERATIONDENIED_RECEIVERNOTEXIST = "OperationDenied.ReceiverNotExist"
OPERATIONDENIED_RECEIVERSTATUSERROR = "OperationDenied.ReceiverStatusError"
OPERATIONDENIED_SENDADDRESSSTATUSERROR = "OperationDenied.SendAddressStatusError"
OPERATIONDENIED_TEMPLATESTATUSERROR = "OperationDenied.TemplateStatusError"

func (*Client) CreateCustomBlacklist

func (c *Client) CreateCustomBlacklist(request *CreateCustomBlacklistRequest) (response *CreateCustomBlacklistResponse, err error)

CreateCustomBlacklist Add a custom blocklist.

error code that may be returned:

INVALIDPARAMETERVALUE_WRONGDATE = "InvalidParameterValue.WrongDate"
LIMITEXCEEDED_RECEIVERDETAILREQUESTLIMIT = "LimitExceeded.ReceiverDetailRequestLimit"
MISSINGPARAMETER_EMAILSNECESSARY = "MissingParameter.EmailsNecessary"

func (*Client) CreateCustomBlacklistWithContext

func (c *Client) CreateCustomBlacklistWithContext(ctx context.Context, request *CreateCustomBlacklistRequest) (response *CreateCustomBlacklistResponse, err error)

CreateCustomBlacklist Add a custom blocklist.

error code that may be returned:

INVALIDPARAMETERVALUE_WRONGDATE = "InvalidParameterValue.WrongDate"
LIMITEXCEEDED_RECEIVERDETAILREQUESTLIMIT = "LimitExceeded.ReceiverDetailRequestLimit"
MISSINGPARAMETER_EMAILSNECESSARY = "MissingParameter.EmailsNecessary"

func (*Client) CreateEmailAddress

func (c *Client) CreateEmailAddress(request *CreateEmailAddressRequest) (response *CreateEmailAddressResponse, err error)

CreateEmailAddress After the sender domain is verified, you need a sender address to send emails. For example, if your sender domain is mail.qcloud.com, your sender address can be service@mail.qcloud.com. If you want to display your name (such as "Tencent Cloud") in the inbox list of the recipients, the sender address should be in the format of `Tencent Cloud <email address>`. Please note that there must be a space between your name and the first angle bracket.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ILLEGALEMAILADDRESS = "InvalidParameterValue.IllegalEmailAddress"
INVALIDPARAMETERVALUE_ILLEGALSENDERNAME = "InvalidParameterValue.IllegalSenderName"
INVALIDPARAMETERVALUE_REPEATEMAILADDRESS = "InvalidParameterValue.RepeatEmailAddress"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_DOMAINNOTVERIFIED = "OperationDenied.DomainNotVerified"
OPERATIONDENIED_EXCEEDSENDERLIMIT = "OperationDenied.ExceedSenderLimit"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) CreateEmailAddressWithContext

func (c *Client) CreateEmailAddressWithContext(ctx context.Context, request *CreateEmailAddressRequest) (response *CreateEmailAddressResponse, err error)

CreateEmailAddress After the sender domain is verified, you need a sender address to send emails. For example, if your sender domain is mail.qcloud.com, your sender address can be service@mail.qcloud.com. If you want to display your name (such as "Tencent Cloud") in the inbox list of the recipients, the sender address should be in the format of `Tencent Cloud <email address>`. Please note that there must be a space between your name and the first angle bracket.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ILLEGALEMAILADDRESS = "InvalidParameterValue.IllegalEmailAddress"
INVALIDPARAMETERVALUE_ILLEGALSENDERNAME = "InvalidParameterValue.IllegalSenderName"
INVALIDPARAMETERVALUE_REPEATEMAILADDRESS = "InvalidParameterValue.RepeatEmailAddress"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_DOMAINNOTVERIFIED = "OperationDenied.DomainNotVerified"
OPERATIONDENIED_EXCEEDSENDERLIMIT = "OperationDenied.ExceedSenderLimit"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) CreateEmailIdentity

func (c *Client) CreateEmailIdentity(request *CreateEmailIdentityRequest) (response *CreateEmailIdentityResponse, err error)

CreateEmailIdentity This API is used to create a sender domain. Before you can send an email using Tencent Cloud SES, you must create a sender domain as your identity. It can be the domain of your website or mobile app. You must verify the domain to prove that you own it and authorize Tencent Cloud SES to use it to send emails.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CREATEDBYOTHER = "InvalidParameterValue.CreatedByOther"
INVALIDPARAMETERVALUE_INVALIDEMAILIDENTITY = "InvalidParameterValue.InvalidEmailIdentity"
INVALIDPARAMETERVALUE_REPEATCREATION = "InvalidParameterValue.RepeatCreation"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_EXCEEDDOMAINLIMIT = "OperationDenied.ExceedDomainLimit"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) CreateEmailIdentityWithContext

func (c *Client) CreateEmailIdentityWithContext(ctx context.Context, request *CreateEmailIdentityRequest) (response *CreateEmailIdentityResponse, err error)

CreateEmailIdentity This API is used to create a sender domain. Before you can send an email using Tencent Cloud SES, you must create a sender domain as your identity. It can be the domain of your website or mobile app. You must verify the domain to prove that you own it and authorize Tencent Cloud SES to use it to send emails.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CREATEDBYOTHER = "InvalidParameterValue.CreatedByOther"
INVALIDPARAMETERVALUE_INVALIDEMAILIDENTITY = "InvalidParameterValue.InvalidEmailIdentity"
INVALIDPARAMETERVALUE_REPEATCREATION = "InvalidParameterValue.RepeatCreation"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_EXCEEDDOMAINLIMIT = "OperationDenied.ExceedDomainLimit"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) CreateEmailTemplate

func (c *Client) CreateEmailTemplate(request *CreateEmailTemplateRequest) (response *CreateEmailTemplateResponse, err error)

CreateEmailTemplate This API is used to create a TEXT or HTML email template. To create an HTML template, ensure that it does not include external CSS files. You can use {{variable name}} to specify a variable in the template.

Note: Only an approved template can be used to send emails.

error code that may be returned:

FAILEDOPERATION_EXCEEDTEMPLATELIMIT = "FailedOperation.ExceedTemplateLimit"
FAILEDOPERATION_TEMPLATECONTENTTOOLARGE = "FailedOperation.TemplateContentToolarge"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TEMPLATECONTENTISNULL = "InvalidParameterValue.TemplateContentIsNULL"
INVALIDPARAMETERVALUE_TEMPLATECONTENTISWRONG = "InvalidParameterValue.TemplateContentIsWrong"
INVALIDPARAMETERVALUE_TEMPLATENAMEILLEGAL = "InvalidParameterValue.TemplateNameIllegal"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) CreateEmailTemplateWithContext

func (c *Client) CreateEmailTemplateWithContext(ctx context.Context, request *CreateEmailTemplateRequest) (response *CreateEmailTemplateResponse, err error)

CreateEmailTemplate This API is used to create a TEXT or HTML email template. To create an HTML template, ensure that it does not include external CSS files. You can use {{variable name}} to specify a variable in the template.

Note: Only an approved template can be used to send emails.

error code that may be returned:

FAILEDOPERATION_EXCEEDTEMPLATELIMIT = "FailedOperation.ExceedTemplateLimit"
FAILEDOPERATION_TEMPLATECONTENTTOOLARGE = "FailedOperation.TemplateContentToolarge"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TEMPLATECONTENTISNULL = "InvalidParameterValue.TemplateContentIsNULL"
INVALIDPARAMETERVALUE_TEMPLATECONTENTISWRONG = "InvalidParameterValue.TemplateContentIsWrong"
INVALIDPARAMETERVALUE_TEMPLATENAMEILLEGAL = "InvalidParameterValue.TemplateNameIllegal"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) CreateReceiver

func (c *Client) CreateReceiver(request *CreateReceiverRequest) (response *CreateReceiverResponse, err error)

CreateReceiver This API is used to create a recipient group, which is the list of target email addresses for batch sending emails. After creating a group, you need to upload recipient email addresses. Then, you can create a sending task and select the group to batch send emails.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_RECEIVERDESCILLEGAL = "InvalidParameterValue.ReceiverDescIllegal"
INVALIDPARAMETERVALUE_RECEIVERNAMEILLEGAL = "InvalidParameterValue.ReceiverNameIllegal"
INVALIDPARAMETERVALUE_REPEATRECEIVERNAME = "InvalidParameterValue.RepeatReceiverName"
LIMITEXCEEDED_EXCEEDRECEIVERLIMIT = "LimitExceeded.ExceedReceiverLimit"

func (*Client) CreateReceiverDetail

func (c *Client) CreateReceiverDetail(request *CreateReceiverDetailRequest) (response *CreateReceiverDetailResponse, err error)

CreateReceiverDetail This API is used to add recipient email addresses (up to 20,000 at a time) to a recipient group. This will be processed asynchronously. If the data volume is large, it may take some time to upload. You can check the recipient group for the upload status and upload quantity. This API has basically the same feature as that of `CreateReceiverDetailWithData` except that it doesn't support uploading template parameters for email sending. You need to first call the `CreateReceiver` API to create a recipient group, then call this API to pass in recipient addresses, and finally call the `BatchSendEmail` API to batch send emails. This API supports adding more recipient addresses during upload but not address deduplication, so you need to make sure that the recipient addresses are not duplicate by yourself. This API can request up to 20,000 recipient addresses at a time, but the recipient group can contain up to 50,000 addresses currently.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICENOTAVAILABLE = "FailedOperation.ServiceNotAvailable"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_TEMPLATEDATAERROR = "InvalidParameterValue.TemplateDataError"
INVALIDPARAMETERVALUE_TEMPLATEDATAINCONSISTENT = "InvalidParameterValue.TemplateDataInconsistent"
LIMITEXCEEDED_RECEIVERDETAILCOUNTLIMIT = "LimitExceeded.ReceiverDetailCountLimit"
LIMITEXCEEDED_RECEIVERDETAILREQUESTLIMIT = "LimitExceeded.ReceiverDetailRequestLimit"
MISSINGPARAMETER_EMAILSNECESSARY = "MissingParameter.EmailsNecessary"
MISSINGPARAMETER_RECEIVERIDNECESSARY = "MissingParameter.ReceiverIdNecessary"
OPERATIONDENIED_RECEIVERISOPERATING = "OperationDenied.ReceiverIsOperating"
OPERATIONDENIED_RECEIVERNOTEXIST = "OperationDenied.ReceiverNotExist"

func (*Client) CreateReceiverDetailWithContext

func (c *Client) CreateReceiverDetailWithContext(ctx context.Context, request *CreateReceiverDetailRequest) (response *CreateReceiverDetailResponse, err error)

CreateReceiverDetail This API is used to add recipient email addresses (up to 20,000 at a time) to a recipient group. This will be processed asynchronously. If the data volume is large, it may take some time to upload. You can check the recipient group for the upload status and upload quantity. This API has basically the same feature as that of `CreateReceiverDetailWithData` except that it doesn't support uploading template parameters for email sending. You need to first call the `CreateReceiver` API to create a recipient group, then call this API to pass in recipient addresses, and finally call the `BatchSendEmail` API to batch send emails. This API supports adding more recipient addresses during upload but not address deduplication, so you need to make sure that the recipient addresses are not duplicate by yourself. This API can request up to 20,000 recipient addresses at a time, but the recipient group can contain up to 50,000 addresses currently.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICENOTAVAILABLE = "FailedOperation.ServiceNotAvailable"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_TEMPLATEDATAERROR = "InvalidParameterValue.TemplateDataError"
INVALIDPARAMETERVALUE_TEMPLATEDATAINCONSISTENT = "InvalidParameterValue.TemplateDataInconsistent"
LIMITEXCEEDED_RECEIVERDETAILCOUNTLIMIT = "LimitExceeded.ReceiverDetailCountLimit"
LIMITEXCEEDED_RECEIVERDETAILREQUESTLIMIT = "LimitExceeded.ReceiverDetailRequestLimit"
MISSINGPARAMETER_EMAILSNECESSARY = "MissingParameter.EmailsNecessary"
MISSINGPARAMETER_RECEIVERIDNECESSARY = "MissingParameter.ReceiverIdNecessary"
OPERATIONDENIED_RECEIVERISOPERATING = "OperationDenied.ReceiverIsOperating"
OPERATIONDENIED_RECEIVERNOTEXIST = "OperationDenied.ReceiverNotExist"

func (*Client) CreateReceiverDetailWithData

func (c *Client) CreateReceiverDetailWithData(request *CreateReceiverDetailWithDataRequest) (response *CreateReceiverDetailWithDataResponse, err error)

CreateReceiverDetailWithData Add recipient addresses with Template parameters. Use this API to import Template parameters while adding recipient addresses, ensuring each recipient address uses Template variables with different values when sending emails. Users first call the CreateReceiver API to create a recipient list, then call this API to import recipient addresses and Template parameters for email sending, and finally use the BatchSendEmail API to complete batch email sending. Notably, after using this API, the Template parameter in the BatchSendEmail API does not need to be passed again. Users can also import recipient addresses, Template variables, and parameter values via the import file option in the console under Email Sending - Recipient List menu. This API limits the number of recipient addresses in a single request to 20,000 entries. It can also append recipient addresses to an already uploaded recipient list, but the total number of recipient addresses in the list must not exceed a certain limit, currently set at 50,000 entries. This API does not support removing duplicate recipient addresses. Users need to ensure uploaded and appended addresses are non-repeating and do not duplicate previously uploaded addresses.

error code that may be returned:

FAILEDOPERATION_SERVICENOTAVAILABLE = "FailedOperation.ServiceNotAvailable"
INVALIDPARAMETERVALUE_INVALIDTEMPLATEDATA = "InvalidParameterValue.InValidTemplateData"
INVALIDPARAMETERVALUE_RECEIVEREMAILINVALID = "InvalidParameterValue.ReceiverEmailInvalid"
INVALIDPARAMETERVALUE_TEMPLATEDATAERROR = "InvalidParameterValue.TemplateDataError"
INVALIDPARAMETERVALUE_TEMPLATEDATAINCONSISTENT = "InvalidParameterValue.TemplateDataInconsistent"
INVALIDPARAMETERVALUE_TEMPLATEDATALENLIMIT = "InvalidParameterValue.TemplateDataLenLimit"
LIMITEXCEEDED_RECEIVERDETAILCOUNTLIMIT = "LimitExceeded.ReceiverDetailCountLimit"
LIMITEXCEEDED_RECEIVERDETAILREQUESTLIMIT = "LimitExceeded.ReceiverDetailRequestLimit"
MISSINGPARAMETER_EMAILSNECESSARY = "MissingParameter.EmailsNecessary"
OPERATIONDENIED_RECEIVERISOPERATING = "OperationDenied.ReceiverIsOperating"
OPERATIONDENIED_RECEIVERNOTEXIST = "OperationDenied.ReceiverNotExist"

func (*Client) CreateReceiverDetailWithDataWithContext

func (c *Client) CreateReceiverDetailWithDataWithContext(ctx context.Context, request *CreateReceiverDetailWithDataRequest) (response *CreateReceiverDetailWithDataResponse, err error)

CreateReceiverDetailWithData Add recipient addresses with Template parameters. Use this API to import Template parameters while adding recipient addresses, ensuring each recipient address uses Template variables with different values when sending emails. Users first call the CreateReceiver API to create a recipient list, then call this API to import recipient addresses and Template parameters for email sending, and finally use the BatchSendEmail API to complete batch email sending. Notably, after using this API, the Template parameter in the BatchSendEmail API does not need to be passed again. Users can also import recipient addresses, Template variables, and parameter values via the import file option in the console under Email Sending - Recipient List menu. This API limits the number of recipient addresses in a single request to 20,000 entries. It can also append recipient addresses to an already uploaded recipient list, but the total number of recipient addresses in the list must not exceed a certain limit, currently set at 50,000 entries. This API does not support removing duplicate recipient addresses. Users need to ensure uploaded and appended addresses are non-repeating and do not duplicate previously uploaded addresses.

error code that may be returned:

FAILEDOPERATION_SERVICENOTAVAILABLE = "FailedOperation.ServiceNotAvailable"
INVALIDPARAMETERVALUE_INVALIDTEMPLATEDATA = "InvalidParameterValue.InValidTemplateData"
INVALIDPARAMETERVALUE_RECEIVEREMAILINVALID = "InvalidParameterValue.ReceiverEmailInvalid"
INVALIDPARAMETERVALUE_TEMPLATEDATAERROR = "InvalidParameterValue.TemplateDataError"
INVALIDPARAMETERVALUE_TEMPLATEDATAINCONSISTENT = "InvalidParameterValue.TemplateDataInconsistent"
INVALIDPARAMETERVALUE_TEMPLATEDATALENLIMIT = "InvalidParameterValue.TemplateDataLenLimit"
LIMITEXCEEDED_RECEIVERDETAILCOUNTLIMIT = "LimitExceeded.ReceiverDetailCountLimit"
LIMITEXCEEDED_RECEIVERDETAILREQUESTLIMIT = "LimitExceeded.ReceiverDetailRequestLimit"
MISSINGPARAMETER_EMAILSNECESSARY = "MissingParameter.EmailsNecessary"
OPERATIONDENIED_RECEIVERISOPERATING = "OperationDenied.ReceiverIsOperating"
OPERATIONDENIED_RECEIVERNOTEXIST = "OperationDenied.ReceiverNotExist"

func (*Client) CreateReceiverWithContext

func (c *Client) CreateReceiverWithContext(ctx context.Context, request *CreateReceiverRequest) (response *CreateReceiverResponse, err error)

CreateReceiver This API is used to create a recipient group, which is the list of target email addresses for batch sending emails. After creating a group, you need to upload recipient email addresses. Then, you can create a sending task and select the group to batch send emails.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_RECEIVERDESCILLEGAL = "InvalidParameterValue.ReceiverDescIllegal"
INVALIDPARAMETERVALUE_RECEIVERNAMEILLEGAL = "InvalidParameterValue.ReceiverNameIllegal"
INVALIDPARAMETERVALUE_REPEATRECEIVERNAME = "InvalidParameterValue.RepeatReceiverName"
LIMITEXCEEDED_EXCEEDRECEIVERLIMIT = "LimitExceeded.ExceedReceiverLimit"

func (*Client) DeleteAddressUnsubscribeConfig

func (c *Client) DeleteAddressUnsubscribeConfig(request *DeleteAddressUnsubscribeConfigRequest) (response *DeleteAddressUnsubscribeConfigResponse, err error)

DeleteAddressUnsubscribeConfig Remove address-level unsubscribe configuration.

error code that may be returned:

FAILEDOPERATION_SERVICENOTAVAILABLE = "FailedOperation.ServiceNotAvailable"
INVALIDPARAMETERVALUE_INVALIDTEMPLATEDATA = "InvalidParameterValue.InValidTemplateData"
INVALIDPARAMETERVALUE_RECEIVEREMAILINVALID = "InvalidParameterValue.ReceiverEmailInvalid"
INVALIDPARAMETERVALUE_TEMPLATEDATAERROR = "InvalidParameterValue.TemplateDataError"
INVALIDPARAMETERVALUE_TEMPLATEDATAINCONSISTENT = "InvalidParameterValue.TemplateDataInconsistent"
INVALIDPARAMETERVALUE_TEMPLATEDATALENLIMIT = "InvalidParameterValue.TemplateDataLenLimit"
LIMITEXCEEDED_RECEIVERDETAILCOUNTLIMIT = "LimitExceeded.ReceiverDetailCountLimit"
LIMITEXCEEDED_RECEIVERDETAILREQUESTLIMIT = "LimitExceeded.ReceiverDetailRequestLimit"
MISSINGPARAMETER_EMAILSNECESSARY = "MissingParameter.EmailsNecessary"
OPERATIONDENIED_RECEIVERISOPERATING = "OperationDenied.ReceiverIsOperating"
OPERATIONDENIED_RECEIVERNOTEXIST = "OperationDenied.ReceiverNotExist"

func (*Client) DeleteAddressUnsubscribeConfigWithContext

func (c *Client) DeleteAddressUnsubscribeConfigWithContext(ctx context.Context, request *DeleteAddressUnsubscribeConfigRequest) (response *DeleteAddressUnsubscribeConfigResponse, err error)

DeleteAddressUnsubscribeConfig Remove address-level unsubscribe configuration.

error code that may be returned:

FAILEDOPERATION_SERVICENOTAVAILABLE = "FailedOperation.ServiceNotAvailable"
INVALIDPARAMETERVALUE_INVALIDTEMPLATEDATA = "InvalidParameterValue.InValidTemplateData"
INVALIDPARAMETERVALUE_RECEIVEREMAILINVALID = "InvalidParameterValue.ReceiverEmailInvalid"
INVALIDPARAMETERVALUE_TEMPLATEDATAERROR = "InvalidParameterValue.TemplateDataError"
INVALIDPARAMETERVALUE_TEMPLATEDATAINCONSISTENT = "InvalidParameterValue.TemplateDataInconsistent"
INVALIDPARAMETERVALUE_TEMPLATEDATALENLIMIT = "InvalidParameterValue.TemplateDataLenLimit"
LIMITEXCEEDED_RECEIVERDETAILCOUNTLIMIT = "LimitExceeded.ReceiverDetailCountLimit"
LIMITEXCEEDED_RECEIVERDETAILREQUESTLIMIT = "LimitExceeded.ReceiverDetailRequestLimit"
MISSINGPARAMETER_EMAILSNECESSARY = "MissingParameter.EmailsNecessary"
OPERATIONDENIED_RECEIVERISOPERATING = "OperationDenied.ReceiverIsOperating"
OPERATIONDENIED_RECEIVERNOTEXIST = "OperationDenied.ReceiverNotExist"

func (*Client) DeleteBlackList

func (c *Client) DeleteBlackList(request *DeleteBlackListRequest) (response *DeleteBlackListResponse, err error)

DeleteBlackList This API is used to unblocklist email addresses. If you confirm that a blocklisted recipient address is valid and active, you can remove it from Tencent Cloud’s address blocklist database.

error code that may be returned:

INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) DeleteBlackListWithContext

func (c *Client) DeleteBlackListWithContext(ctx context.Context, request *DeleteBlackListRequest) (response *DeleteBlackListResponse, err error)

DeleteBlackList This API is used to unblocklist email addresses. If you confirm that a blocklisted recipient address is valid and active, you can remove it from Tencent Cloud’s address blocklist database.

error code that may be returned:

INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) DeleteCustomBlackList

func (c *Client) DeleteCustomBlackList(request *DeleteCustomBlackListRequest) (response *DeleteCustomBlackListResponse, err error)

DeleteCustomBlackList Delete a custom blocklist email address.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) DeleteCustomBlackListWithContext

func (c *Client) DeleteCustomBlackListWithContext(ctx context.Context, request *DeleteCustomBlackListRequest) (response *DeleteCustomBlackListResponse, err error)

DeleteCustomBlackList Delete a custom blocklist email address.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) DeleteEmailAddress

func (c *Client) DeleteEmailAddress(request *DeleteEmailAddressRequest) (response *DeleteEmailAddressResponse, err error)

DeleteEmailAddress This API is used to delete a sender address.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_NOSUCHSENDER = "InvalidParameterValue.NoSuchSender"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) DeleteEmailAddressWithContext

func (c *Client) DeleteEmailAddressWithContext(ctx context.Context, request *DeleteEmailAddressRequest) (response *DeleteEmailAddressResponse, err error)

DeleteEmailAddress This API is used to delete a sender address.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_NOSUCHSENDER = "InvalidParameterValue.NoSuchSender"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) DeleteEmailIdentity

func (c *Client) DeleteEmailIdentity(request *DeleteEmailIdentityRequest) (response *DeleteEmailIdentityResponse, err error)

DeleteEmailIdentity This API is used to delete a sender domain. After deleted, the sender domain can no longer be used to send emails.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_NOTALLOWDELETE = "OperationDenied.NotAllowDelete"
OPERATIONDENIED_SENDERWITHDOMAINISNOTEMPTY = "OperationDenied.SenderWithDomainIsNotEmpty"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) DeleteEmailIdentityWithContext

func (c *Client) DeleteEmailIdentityWithContext(ctx context.Context, request *DeleteEmailIdentityRequest) (response *DeleteEmailIdentityResponse, err error)

DeleteEmailIdentity This API is used to delete a sender domain. After deleted, the sender domain can no longer be used to send emails.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_NOTALLOWDELETE = "OperationDenied.NotAllowDelete"
OPERATIONDENIED_SENDERWITHDOMAINISNOTEMPTY = "OperationDenied.SenderWithDomainIsNotEmpty"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) DeleteEmailTemplate

func (c *Client) DeleteEmailTemplate(request *DeleteEmailTemplateRequest) (response *DeleteEmailTemplateResponse, err error)

DeleteEmailTemplate This API is used to delete an email template.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) DeleteEmailTemplateWithContext

func (c *Client) DeleteEmailTemplateWithContext(ctx context.Context, request *DeleteEmailTemplateRequest) (response *DeleteEmailTemplateResponse, err error)

DeleteEmailTemplate This API is used to delete an email template.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) DeleteReceiver

func (c *Client) DeleteReceiver(request *DeleteReceiverRequest) (response *DeleteReceiverResponse, err error)

DeleteReceiver This API is used to delete a recipient group and all recipient email addresses in the group based on the recipient group ID.

error code that may be returned:

INTERNALERROR = "InternalError"
MISSINGPARAMETER_RECEIVERIDNECESSARY = "MissingParameter.ReceiverIdNecessary"
OPERATIONDENIED_RECEIVERNOTEXIST = "OperationDenied.ReceiverNotExist"

func (*Client) DeleteReceiverWithContext

func (c *Client) DeleteReceiverWithContext(ctx context.Context, request *DeleteReceiverRequest) (response *DeleteReceiverResponse, err error)

DeleteReceiver This API is used to delete a recipient group and all recipient email addresses in the group based on the recipient group ID.

error code that may be returned:

INTERNALERROR = "InternalError"
MISSINGPARAMETER_RECEIVERIDNECESSARY = "MissingParameter.ReceiverIdNecessary"
OPERATIONDENIED_RECEIVERNOTEXIST = "OperationDenied.ReceiverNotExist"

func (*Client) GetAbuseReport

func (c *Client) GetAbuseReport(request *GetAbuseReportRequest) (response *GetAbuseReportResponse, err error)

GetAbuseReport Retrieve reported spam data.

error code that may be returned:

FAILEDOPERATION_INVALIDLIMIT = "FailedOperation.InvalidLimit"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDataBaseFailed"
INVALIDPARAMETER_APPIDISREQUIRED = "InvalidParameter.AppIdIsRequired"
INVALIDPARAMETER_INVALIDENDTIMEFORMAT = "InvalidParameter.InvalidEndTimeFormat"
INVALIDPARAMETER_INVALIDSTARTTIMEFORMAT = "InvalidParameter.InvalidStartTimeFormat"

func (*Client) GetAbuseReportWithContext

func (c *Client) GetAbuseReportWithContext(ctx context.Context, request *GetAbuseReportRequest) (response *GetAbuseReportResponse, err error)

GetAbuseReport Retrieve reported spam data.

error code that may be returned:

FAILEDOPERATION_INVALIDLIMIT = "FailedOperation.InvalidLimit"
INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDataBaseFailed"
INVALIDPARAMETER_APPIDISREQUIRED = "InvalidParameter.AppIdIsRequired"
INVALIDPARAMETER_INVALIDENDTIMEFORMAT = "InvalidParameter.InvalidEndTimeFormat"
INVALIDPARAMETER_INVALIDSTARTTIMEFORMAT = "InvalidParameter.InvalidStartTimeFormat"

func (*Client) GetEmailIdentity

func (c *Client) GetEmailIdentity(request *GetEmailIdentityRequest) (response *GetEmailIdentityResponse, err error)

GetEmailIdentity This API is used to get the configuration details of a sender domain.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_NOTEXISTDOMAIN = "InvalidParameterValue.NotExistDomain"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) GetEmailIdentityWithContext

func (c *Client) GetEmailIdentityWithContext(ctx context.Context, request *GetEmailIdentityRequest) (response *GetEmailIdentityResponse, err error)

GetEmailIdentity This API is used to get the configuration details of a sender domain.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_NOTEXISTDOMAIN = "InvalidParameterValue.NotExistDomain"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) GetEmailTemplate

func (c *Client) GetEmailTemplate(request *GetEmailTemplateRequest) (response *GetEmailTemplateResponse, err error)

GetEmailTemplate This API is used to get the details of a template.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TEMPLATENOTEXIST = "InvalidParameterValue.TemplateNotExist"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) GetEmailTemplateWithContext

func (c *Client) GetEmailTemplateWithContext(ctx context.Context, request *GetEmailTemplateRequest) (response *GetEmailTemplateResponse, err error)

GetEmailTemplate This API is used to get the details of a template.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TEMPLATENOTEXIST = "InvalidParameterValue.TemplateNotExist"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) GetSendEmailStatus

func (c *Client) GetSendEmailStatus(request *GetSendEmailStatusRequest) (response *GetSendEmailStatusResponse, err error)

GetSendEmailStatus Search the email sending status. Only support querying data within 30 days.

error code that may be returned:

FAILEDOPERATION_EMAILADDRINBLACKLIST = "FailedOperation.EmailAddrInBlacklist"
FAILEDOPERATION_EMAILCONTENTTOOLARGE = "FailedOperation.EmailContentToolarge"
FAILEDOPERATION_EXCEEDSENDLIMIT = "FailedOperation.ExceedSendLimit"
FAILEDOPERATION_FREQUENCYLIMIT = "FailedOperation.FrequencyLimit"
FAILEDOPERATION_HIGHREJECTIONRATE = "FailedOperation.HighRejectionRate"
FAILEDOPERATION_INCORRECTEMAIL = "FailedOperation.IncorrectEmail"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_INSUFFICIENTQUOTA = "FailedOperation.InsufficientQuota"
FAILEDOPERATION_INVALIDLIMIT = "FailedOperation.InvalidLimit"
FAILEDOPERATION_INVALIDTEMPLATEID = "FailedOperation.InvalidTemplateID"
FAILEDOPERATION_NOTAUTHENTICATEDSENDER = "FailedOperation.NotAuthenticatedSender"
FAILEDOPERATION_NOTSUPPORTDATE = "FailedOperation.NotSupportDate"
FAILEDOPERATION_PROTOCOLCHECKERR = "FailedOperation.ProtocolCheckErr"
FAILEDOPERATION_TEMPORARYBLOCKED = "FailedOperation.TemporaryBlocked"
FAILEDOPERATION_TOOMANYRECIPIENTS = "FailedOperation.TooManyRecipients"
FAILEDOPERATION_UNSUPPORTMAILTYPE = "FailedOperation.UnsupportMailType"
FAILEDOPERATION_WITHOUTPERMISSION = "FailedOperation.WithOutPermission"
FAILEDOPERATION_WRONGCONTENTJSON = "FailedOperation.WrongContentJson"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_EMAILADDRESSISNULL = "InvalidParameterValue.EmailAddressIsNULL"
INVALIDPARAMETERVALUE_EMAILCONTENTISWRONG = "InvalidParameterValue.EmailContentIsWrong"
INVALIDPARAMETERVALUE_WRONGDATE = "InvalidParameterValue.WrongDate"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) GetSendEmailStatusWithContext

func (c *Client) GetSendEmailStatusWithContext(ctx context.Context, request *GetSendEmailStatusRequest) (response *GetSendEmailStatusResponse, err error)

GetSendEmailStatus Search the email sending status. Only support querying data within 30 days.

error code that may be returned:

FAILEDOPERATION_EMAILADDRINBLACKLIST = "FailedOperation.EmailAddrInBlacklist"
FAILEDOPERATION_EMAILCONTENTTOOLARGE = "FailedOperation.EmailContentToolarge"
FAILEDOPERATION_EXCEEDSENDLIMIT = "FailedOperation.ExceedSendLimit"
FAILEDOPERATION_FREQUENCYLIMIT = "FailedOperation.FrequencyLimit"
FAILEDOPERATION_HIGHREJECTIONRATE = "FailedOperation.HighRejectionRate"
FAILEDOPERATION_INCORRECTEMAIL = "FailedOperation.IncorrectEmail"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_INSUFFICIENTQUOTA = "FailedOperation.InsufficientQuota"
FAILEDOPERATION_INVALIDLIMIT = "FailedOperation.InvalidLimit"
FAILEDOPERATION_INVALIDTEMPLATEID = "FailedOperation.InvalidTemplateID"
FAILEDOPERATION_NOTAUTHENTICATEDSENDER = "FailedOperation.NotAuthenticatedSender"
FAILEDOPERATION_NOTSUPPORTDATE = "FailedOperation.NotSupportDate"
FAILEDOPERATION_PROTOCOLCHECKERR = "FailedOperation.ProtocolCheckErr"
FAILEDOPERATION_TEMPORARYBLOCKED = "FailedOperation.TemporaryBlocked"
FAILEDOPERATION_TOOMANYRECIPIENTS = "FailedOperation.TooManyRecipients"
FAILEDOPERATION_UNSUPPORTMAILTYPE = "FailedOperation.UnsupportMailType"
FAILEDOPERATION_WITHOUTPERMISSION = "FailedOperation.WithOutPermission"
FAILEDOPERATION_WRONGCONTENTJSON = "FailedOperation.WrongContentJson"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_EMAILADDRESSISNULL = "InvalidParameterValue.EmailAddressIsNULL"
INVALIDPARAMETERVALUE_EMAILCONTENTISWRONG = "InvalidParameterValue.EmailContentIsWrong"
INVALIDPARAMETERVALUE_WRONGDATE = "InvalidParameterValue.WrongDate"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) GetStatisticsReport

func (c *Client) GetStatisticsReport(request *GetStatisticsReportRequest) (response *GetStatisticsReportResponse, err error)

GetStatisticsReport This API is used to get the email sending statistics over a recent period, including data on sent emails, delivery success rate, open rate, bounce rate, and so on.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_WRONGDATE = "InvalidParameterValue.WrongDate"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) GetStatisticsReportWithContext

func (c *Client) GetStatisticsReportWithContext(ctx context.Context, request *GetStatisticsReportRequest) (response *GetStatisticsReportResponse, err error)

GetStatisticsReport This API is used to get the email sending statistics over a recent period, including data on sent emails, delivery success rate, open rate, bounce rate, and so on.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_WRONGDATE = "InvalidParameterValue.WrongDate"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) ListAddressUnsubscribeConfig

func (c *Client) ListAddressUnsubscribeConfig(request *ListAddressUnsubscribeConfigRequest) (response *ListAddressUnsubscribeConfigResponse, err error)

ListAddressUnsubscribeConfig This API is used to get the address and unsubscribe configuration list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_WRONGDATE = "InvalidParameterValue.WrongDate"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) ListAddressUnsubscribeConfigWithContext

func (c *Client) ListAddressUnsubscribeConfigWithContext(ctx context.Context, request *ListAddressUnsubscribeConfigRequest) (response *ListAddressUnsubscribeConfigResponse, err error)

ListAddressUnsubscribeConfig This API is used to get the address and unsubscribe configuration list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_WRONGDATE = "InvalidParameterValue.WrongDate"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) ListBlackEmailAddress

func (c *Client) ListBlackEmailAddress(request *ListBlackEmailAddressRequest) (response *ListBlackEmailAddressResponse, err error)

ListBlackEmailAddress The API is used to get blocklisted addresses. In the case of a hard bounce, Tencent Cloud will blocklist the recipient address and do not allow any user to send emails to this address. If you confirm that this is a misjudgment, you can remove it from the blocklist.

error code that may be returned:

FAILEDOPERATION_INVALIDLIMIT = "FailedOperation.InvalidLimit"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_WRONGDATE = "InvalidParameterValue.WrongDate"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) ListBlackEmailAddressWithContext

func (c *Client) ListBlackEmailAddressWithContext(ctx context.Context, request *ListBlackEmailAddressRequest) (response *ListBlackEmailAddressResponse, err error)

ListBlackEmailAddress The API is used to get blocklisted addresses. In the case of a hard bounce, Tencent Cloud will blocklist the recipient address and do not allow any user to send emails to this address. If you confirm that this is a misjudgment, you can remove it from the blocklist.

error code that may be returned:

FAILEDOPERATION_INVALIDLIMIT = "FailedOperation.InvalidLimit"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_WRONGDATE = "InvalidParameterValue.WrongDate"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) ListCustomBlacklist

func (c *Client) ListCustomBlacklist(request *ListCustomBlacklistRequest) (response *ListCustomBlacklistResponse, err error)

ListCustomBlacklist Retrieve the custom blocklist.

error code that may be returned:

FAILEDOPERATION_INVALIDLIMIT = "FailedOperation.InvalidLimit"
INTERNALERROR = "InternalError"

func (*Client) ListCustomBlacklistWithContext

func (c *Client) ListCustomBlacklistWithContext(ctx context.Context, request *ListCustomBlacklistRequest) (response *ListCustomBlacklistResponse, err error)

ListCustomBlacklist Retrieve the custom blocklist.

error code that may be returned:

FAILEDOPERATION_INVALIDLIMIT = "FailedOperation.InvalidLimit"
INTERNALERROR = "InternalError"

func (*Client) ListEmailAddress

func (c *Client) ListEmailAddress(request *ListEmailAddressRequest) (response *ListEmailAddressResponse, err error)

ListEmailAddress This API is used to get the list of sender addresses.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) ListEmailAddressWithContext

func (c *Client) ListEmailAddressWithContext(ctx context.Context, request *ListEmailAddressRequest) (response *ListEmailAddressResponse, err error)

ListEmailAddress This API is used to get the list of sender addresses.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) ListEmailIdentities

func (c *Client) ListEmailIdentities(request *ListEmailIdentitiesRequest) (response *ListEmailIdentitiesResponse, err error)

ListEmailIdentities This API is used to get the list of sender domains, including verified and unverified domains.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) ListEmailIdentitiesWithContext

func (c *Client) ListEmailIdentitiesWithContext(ctx context.Context, request *ListEmailIdentitiesRequest) (response *ListEmailIdentitiesResponse, err error)

ListEmailIdentities This API is used to get the list of sender domains, including verified and unverified domains.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) ListEmailTemplates

func (c *Client) ListEmailTemplates(request *ListEmailTemplatesRequest) (response *ListEmailTemplatesResponse, err error)

ListEmailTemplates This API is used to get the list of email templates.

error code that may be returned:

FAILEDOPERATION_INVALIDLIMIT = "FailedOperation.InvalidLimit"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) ListEmailTemplatesWithContext

func (c *Client) ListEmailTemplatesWithContext(ctx context.Context, request *ListEmailTemplatesRequest) (response *ListEmailTemplatesResponse, err error)

ListEmailTemplates This API is used to get the list of email templates.

error code that may be returned:

FAILEDOPERATION_INVALIDLIMIT = "FailedOperation.InvalidLimit"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) ListReceiverDetails

func (c *Client) ListReceiverDetails(request *ListReceiverDetailsRequest) (response *ListReceiverDetailsResponse, err error)

ListReceiverDetails Query ALL recipient email addresses in the recipient list based on the recipient list id with paging query. Filter queries can be based on the recipient email address.

error code that may be returned:

FAILEDOPERATION_INVALIDLIMIT = "FailedOperation.InvalidLimit"
INTERNALERROR = "InternalError"
OPERATIONDENIED_RECEIVERNOTEXIST = "OperationDenied.ReceiverNotExist"

func (*Client) ListReceiverDetailsWithContext

func (c *Client) ListReceiverDetailsWithContext(ctx context.Context, request *ListReceiverDetailsRequest) (response *ListReceiverDetailsResponse, err error)

ListReceiverDetails Query ALL recipient email addresses in the recipient list based on the recipient list id with paging query. Filter queries can be based on the recipient email address.

error code that may be returned:

FAILEDOPERATION_INVALIDLIMIT = "FailedOperation.InvalidLimit"
INTERNALERROR = "InternalError"
OPERATIONDENIED_RECEIVERNOTEXIST = "OperationDenied.ReceiverNotExist"

func (*Client) ListReceivers

func (c *Client) ListReceivers(request *ListReceiversRequest) (response *ListReceiversResponse, err error)

ListReceivers This API is used to query recipient groups. It supports pagination, fuzzy query, and query by status.

error code that may be returned:

FAILEDOPERATION_INVALIDLIMIT = "FailedOperation.InvalidLimit"
INTERNALERROR = "InternalError"

func (*Client) ListReceiversWithContext

func (c *Client) ListReceiversWithContext(ctx context.Context, request *ListReceiversRequest) (response *ListReceiversResponse, err error)

ListReceivers This API is used to query recipient groups. It supports pagination, fuzzy query, and query by status.

error code that may be returned:

FAILEDOPERATION_INVALIDLIMIT = "FailedOperation.InvalidLimit"
INTERNALERROR = "InternalError"

func (*Client) ListSendTasks

func (c *Client) ListSendTasks(request *ListSendTasksRequest) (response *ListSendTasksResponse, err error)

ListSendTasks This API is used to query batch email sending tasks (including immediate, scheduled, and recurring tasks) by page. You can query task data including the number of emails requested to be sent, the number of sent emails, the number of cached emails, and task status.

error code that may be returned:

FAILEDOPERATION_INVALIDLIMIT = "FailedOperation.InvalidLimit"

func (*Client) ListSendTasksWithContext

func (c *Client) ListSendTasksWithContext(ctx context.Context, request *ListSendTasksRequest) (response *ListSendTasksResponse, err error)

ListSendTasks This API is used to query batch email sending tasks (including immediate, scheduled, and recurring tasks) by page. You can query task data including the number of emails requested to be sent, the number of sent emails, the number of cached emails, and task status.

error code that may be returned:

FAILEDOPERATION_INVALIDLIMIT = "FailedOperation.InvalidLimit"

func (*Client) SendEmail

func (c *Client) SendEmail(request *SendEmailRequest) (response *SendEmailResponse, err error)

SendEmail This API is used to send an HTML or TEXT email triggered for authentication or transaction. By default, you can send emails using a template only.

error code that may be returned:

FAILEDOPERATION_ATTACHCONTENTTOOLARGE = "FailedOperation.AttachContentToolarge"
FAILEDOPERATION_EMAILADDRINBLACKLIST = "FailedOperation.EmailAddrInBlacklist"
FAILEDOPERATION_EMAILCONTENTTOOLARGE = "FailedOperation.EmailContentToolarge"
FAILEDOPERATION_EXCEEDSENDLIMIT = "FailedOperation.ExceedSendLimit"
FAILEDOPERATION_FILEURLNOTEXIST = "FailedOperation.FileURLNotExist"
FAILEDOPERATION_FREQUENCYLIMIT = "FailedOperation.FrequencyLimit"
FAILEDOPERATION_HIGHREJECTIONRATE = "FailedOperation.HighRejectionRate"
FAILEDOPERATION_ILLEGALURL = "FailedOperation.IllegalURL"
FAILEDOPERATION_INCORRECTEMAIL = "FailedOperation.IncorrectEmail"
FAILEDOPERATION_INCORRECTSENDER = "FailedOperation.IncorrectSender"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_INSUFFICIENTQUOTA = "FailedOperation.InsufficientQuota"
FAILEDOPERATION_INVALIDATTACHNAME = "FailedOperation.InvalidAttachName"
FAILEDOPERATION_INVALIDTEMPLATEID = "FailedOperation.InvalidTemplateID"
FAILEDOPERATION_MISSINGEMAILCONTENT = "FailedOperation.MissingEmailContent"
FAILEDOPERATION_NOATTACHPERMISSION = "FailedOperation.NoAttachPermission"
FAILEDOPERATION_NOTAUTHENTICATEDSENDER = "FailedOperation.NotAuthenticatedSender"
FAILEDOPERATION_PROTOCOLCHECKERR = "FailedOperation.ProtocolCheckErr"
FAILEDOPERATION_RECEIVERHASUNSUBSCRIBED = "FailedOperation.ReceiverHasUnsubscribed"
FAILEDOPERATION_REJECTEDBYRECIPIENTS = "FailedOperation.RejectedByRecipients"
FAILEDOPERATION_SENDEMAILERR = "FailedOperation.SendEmailErr"
FAILEDOPERATION_TEMPORARYBLOCKED = "FailedOperation.TemporaryBlocked"
FAILEDOPERATION_TOOMANYATTACHMENTS = "FailedOperation.TooManyAttachments"
FAILEDOPERATION_TOOMANYRECIPIENTS = "FailedOperation.TooManyRecipients"
FAILEDOPERATION_URLFORBIDDEN = "FailedOperation.URLForbidden"
FAILEDOPERATION_UNSUPPORTMAILTYPE = "FailedOperation.UnsupportMailType"
FAILEDOPERATION_WITHOUTPERMISSION = "FailedOperation.WithOutPermission"
FAILEDOPERATION_WRONGCONTENTJSON = "FailedOperation.WrongContentJson"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ATTACHCONTENTISWRONG = "InvalidParameterValue.AttachContentIsWrong"
INVALIDPARAMETERVALUE_EMAILADDRESSISNULL = "InvalidParameterValue.EmailAddressIsNULL"
INVALIDPARAMETERVALUE_EMAILCONTENTISWRONG = "InvalidParameterValue.EmailContentIsWrong"
INVALIDPARAMETERVALUE_INVALIDEMAILIDENTITY = "InvalidParameterValue.InvalidEmailIdentity"
INVALIDPARAMETERVALUE_RECEIVEREMAILINVALID = "InvalidParameterValue.ReceiverEmailInvalid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) SendEmailWithContext

func (c *Client) SendEmailWithContext(ctx context.Context, request *SendEmailRequest) (response *SendEmailResponse, err error)

SendEmail This API is used to send an HTML or TEXT email triggered for authentication or transaction. By default, you can send emails using a template only.

error code that may be returned:

FAILEDOPERATION_ATTACHCONTENTTOOLARGE = "FailedOperation.AttachContentToolarge"
FAILEDOPERATION_EMAILADDRINBLACKLIST = "FailedOperation.EmailAddrInBlacklist"
FAILEDOPERATION_EMAILCONTENTTOOLARGE = "FailedOperation.EmailContentToolarge"
FAILEDOPERATION_EXCEEDSENDLIMIT = "FailedOperation.ExceedSendLimit"
FAILEDOPERATION_FILEURLNOTEXIST = "FailedOperation.FileURLNotExist"
FAILEDOPERATION_FREQUENCYLIMIT = "FailedOperation.FrequencyLimit"
FAILEDOPERATION_HIGHREJECTIONRATE = "FailedOperation.HighRejectionRate"
FAILEDOPERATION_ILLEGALURL = "FailedOperation.IllegalURL"
FAILEDOPERATION_INCORRECTEMAIL = "FailedOperation.IncorrectEmail"
FAILEDOPERATION_INCORRECTSENDER = "FailedOperation.IncorrectSender"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_INSUFFICIENTQUOTA = "FailedOperation.InsufficientQuota"
FAILEDOPERATION_INVALIDATTACHNAME = "FailedOperation.InvalidAttachName"
FAILEDOPERATION_INVALIDTEMPLATEID = "FailedOperation.InvalidTemplateID"
FAILEDOPERATION_MISSINGEMAILCONTENT = "FailedOperation.MissingEmailContent"
FAILEDOPERATION_NOATTACHPERMISSION = "FailedOperation.NoAttachPermission"
FAILEDOPERATION_NOTAUTHENTICATEDSENDER = "FailedOperation.NotAuthenticatedSender"
FAILEDOPERATION_PROTOCOLCHECKERR = "FailedOperation.ProtocolCheckErr"
FAILEDOPERATION_RECEIVERHASUNSUBSCRIBED = "FailedOperation.ReceiverHasUnsubscribed"
FAILEDOPERATION_REJECTEDBYRECIPIENTS = "FailedOperation.RejectedByRecipients"
FAILEDOPERATION_SENDEMAILERR = "FailedOperation.SendEmailErr"
FAILEDOPERATION_TEMPORARYBLOCKED = "FailedOperation.TemporaryBlocked"
FAILEDOPERATION_TOOMANYATTACHMENTS = "FailedOperation.TooManyAttachments"
FAILEDOPERATION_TOOMANYRECIPIENTS = "FailedOperation.TooManyRecipients"
FAILEDOPERATION_URLFORBIDDEN = "FailedOperation.URLForbidden"
FAILEDOPERATION_UNSUPPORTMAILTYPE = "FailedOperation.UnsupportMailType"
FAILEDOPERATION_WITHOUTPERMISSION = "FailedOperation.WithOutPermission"
FAILEDOPERATION_WRONGCONTENTJSON = "FailedOperation.WrongContentJson"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ATTACHCONTENTISWRONG = "InvalidParameterValue.AttachContentIsWrong"
INVALIDPARAMETERVALUE_EMAILADDRESSISNULL = "InvalidParameterValue.EmailAddressIsNULL"
INVALIDPARAMETERVALUE_EMAILCONTENTISWRONG = "InvalidParameterValue.EmailContentIsWrong"
INVALIDPARAMETERVALUE_INVALIDEMAILIDENTITY = "InvalidParameterValue.InvalidEmailIdentity"
INVALIDPARAMETERVALUE_RECEIVEREMAILINVALID = "InvalidParameterValue.ReceiverEmailInvalid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpdateAddressUnsubscribeConfig

func (c *Client) UpdateAddressUnsubscribeConfig(request *UpdateAddressUnsubscribeConfigRequest) (response *UpdateAddressUnsubscribeConfigResponse, err error)

UpdateAddressUnsubscribeConfig This API is used to update address-level unsubscribe configurations.

error code that may be returned:

FAILEDOPERATION_ATTACHCONTENTTOOLARGE = "FailedOperation.AttachContentToolarge"
FAILEDOPERATION_EMAILADDRINBLACKLIST = "FailedOperation.EmailAddrInBlacklist"
FAILEDOPERATION_EMAILCONTENTTOOLARGE = "FailedOperation.EmailContentToolarge"
FAILEDOPERATION_EXCEEDSENDLIMIT = "FailedOperation.ExceedSendLimit"
FAILEDOPERATION_FILEURLNOTEXIST = "FailedOperation.FileURLNotExist"
FAILEDOPERATION_FREQUENCYLIMIT = "FailedOperation.FrequencyLimit"
FAILEDOPERATION_HIGHREJECTIONRATE = "FailedOperation.HighRejectionRate"
FAILEDOPERATION_ILLEGALURL = "FailedOperation.IllegalURL"
FAILEDOPERATION_INCORRECTEMAIL = "FailedOperation.IncorrectEmail"
FAILEDOPERATION_INCORRECTSENDER = "FailedOperation.IncorrectSender"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_INSUFFICIENTQUOTA = "FailedOperation.InsufficientQuota"
FAILEDOPERATION_INVALIDATTACHNAME = "FailedOperation.InvalidAttachName"
FAILEDOPERATION_INVALIDTEMPLATEID = "FailedOperation.InvalidTemplateID"
FAILEDOPERATION_MISSINGEMAILCONTENT = "FailedOperation.MissingEmailContent"
FAILEDOPERATION_NOATTACHPERMISSION = "FailedOperation.NoAttachPermission"
FAILEDOPERATION_NOTAUTHENTICATEDSENDER = "FailedOperation.NotAuthenticatedSender"
FAILEDOPERATION_PROTOCOLCHECKERR = "FailedOperation.ProtocolCheckErr"
FAILEDOPERATION_RECEIVERHASUNSUBSCRIBED = "FailedOperation.ReceiverHasUnsubscribed"
FAILEDOPERATION_REJECTEDBYRECIPIENTS = "FailedOperation.RejectedByRecipients"
FAILEDOPERATION_SENDEMAILERR = "FailedOperation.SendEmailErr"
FAILEDOPERATION_TEMPORARYBLOCKED = "FailedOperation.TemporaryBlocked"
FAILEDOPERATION_TOOMANYATTACHMENTS = "FailedOperation.TooManyAttachments"
FAILEDOPERATION_TOOMANYRECIPIENTS = "FailedOperation.TooManyRecipients"
FAILEDOPERATION_URLFORBIDDEN = "FailedOperation.URLForbidden"
FAILEDOPERATION_UNSUPPORTMAILTYPE = "FailedOperation.UnsupportMailType"
FAILEDOPERATION_WITHOUTPERMISSION = "FailedOperation.WithOutPermission"
FAILEDOPERATION_WRONGCONTENTJSON = "FailedOperation.WrongContentJson"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ATTACHCONTENTISWRONG = "InvalidParameterValue.AttachContentIsWrong"
INVALIDPARAMETERVALUE_EMAILADDRESSISNULL = "InvalidParameterValue.EmailAddressIsNULL"
INVALIDPARAMETERVALUE_EMAILCONTENTISWRONG = "InvalidParameterValue.EmailContentIsWrong"
INVALIDPARAMETERVALUE_INVALIDEMAILIDENTITY = "InvalidParameterValue.InvalidEmailIdentity"
INVALIDPARAMETERVALUE_RECEIVEREMAILINVALID = "InvalidParameterValue.ReceiverEmailInvalid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpdateAddressUnsubscribeConfigWithContext

func (c *Client) UpdateAddressUnsubscribeConfigWithContext(ctx context.Context, request *UpdateAddressUnsubscribeConfigRequest) (response *UpdateAddressUnsubscribeConfigResponse, err error)

UpdateAddressUnsubscribeConfig This API is used to update address-level unsubscribe configurations.

error code that may be returned:

FAILEDOPERATION_ATTACHCONTENTTOOLARGE = "FailedOperation.AttachContentToolarge"
FAILEDOPERATION_EMAILADDRINBLACKLIST = "FailedOperation.EmailAddrInBlacklist"
FAILEDOPERATION_EMAILCONTENTTOOLARGE = "FailedOperation.EmailContentToolarge"
FAILEDOPERATION_EXCEEDSENDLIMIT = "FailedOperation.ExceedSendLimit"
FAILEDOPERATION_FILEURLNOTEXIST = "FailedOperation.FileURLNotExist"
FAILEDOPERATION_FREQUENCYLIMIT = "FailedOperation.FrequencyLimit"
FAILEDOPERATION_HIGHREJECTIONRATE = "FailedOperation.HighRejectionRate"
FAILEDOPERATION_ILLEGALURL = "FailedOperation.IllegalURL"
FAILEDOPERATION_INCORRECTEMAIL = "FailedOperation.IncorrectEmail"
FAILEDOPERATION_INCORRECTSENDER = "FailedOperation.IncorrectSender"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_INSUFFICIENTQUOTA = "FailedOperation.InsufficientQuota"
FAILEDOPERATION_INVALIDATTACHNAME = "FailedOperation.InvalidAttachName"
FAILEDOPERATION_INVALIDTEMPLATEID = "FailedOperation.InvalidTemplateID"
FAILEDOPERATION_MISSINGEMAILCONTENT = "FailedOperation.MissingEmailContent"
FAILEDOPERATION_NOATTACHPERMISSION = "FailedOperation.NoAttachPermission"
FAILEDOPERATION_NOTAUTHENTICATEDSENDER = "FailedOperation.NotAuthenticatedSender"
FAILEDOPERATION_PROTOCOLCHECKERR = "FailedOperation.ProtocolCheckErr"
FAILEDOPERATION_RECEIVERHASUNSUBSCRIBED = "FailedOperation.ReceiverHasUnsubscribed"
FAILEDOPERATION_REJECTEDBYRECIPIENTS = "FailedOperation.RejectedByRecipients"
FAILEDOPERATION_SENDEMAILERR = "FailedOperation.SendEmailErr"
FAILEDOPERATION_TEMPORARYBLOCKED = "FailedOperation.TemporaryBlocked"
FAILEDOPERATION_TOOMANYATTACHMENTS = "FailedOperation.TooManyAttachments"
FAILEDOPERATION_TOOMANYRECIPIENTS = "FailedOperation.TooManyRecipients"
FAILEDOPERATION_URLFORBIDDEN = "FailedOperation.URLForbidden"
FAILEDOPERATION_UNSUPPORTMAILTYPE = "FailedOperation.UnsupportMailType"
FAILEDOPERATION_WITHOUTPERMISSION = "FailedOperation.WithOutPermission"
FAILEDOPERATION_WRONGCONTENTJSON = "FailedOperation.WrongContentJson"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ATTACHCONTENTISWRONG = "InvalidParameterValue.AttachContentIsWrong"
INVALIDPARAMETERVALUE_EMAILADDRESSISNULL = "InvalidParameterValue.EmailAddressIsNULL"
INVALIDPARAMETERVALUE_EMAILCONTENTISWRONG = "InvalidParameterValue.EmailContentIsWrong"
INVALIDPARAMETERVALUE_INVALIDEMAILIDENTITY = "InvalidParameterValue.InvalidEmailIdentity"
INVALIDPARAMETERVALUE_RECEIVEREMAILINVALID = "InvalidParameterValue.ReceiverEmailInvalid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpdateCustomBlackList

func (c *Client) UpdateCustomBlackList(request *UpdateCustomBlackListRequest) (response *UpdateCustomBlackListResponse, err error)

UpdateCustomBlackList Refresh custom blocklist.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_ILLEGALEMAILADDRESS = "InvalidParameterValue.IllegalEmailAddress"
INVALIDPARAMETERVALUE_WRONGDATE = "InvalidParameterValue.WrongDate"

func (*Client) UpdateCustomBlackListWithContext

func (c *Client) UpdateCustomBlackListWithContext(ctx context.Context, request *UpdateCustomBlackListRequest) (response *UpdateCustomBlackListResponse, err error)

UpdateCustomBlackList Refresh custom blocklist.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_ILLEGALEMAILADDRESS = "InvalidParameterValue.IllegalEmailAddress"
INVALIDPARAMETERVALUE_WRONGDATE = "InvalidParameterValue.WrongDate"

func (*Client) UpdateEmailIdentity

func (c *Client) UpdateEmailIdentity(request *UpdateEmailIdentityRequest) (response *UpdateEmailIdentityResponse, err error)

UpdateEmailIdentity This API is used to verify whether your DNS configuration is correct.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_SERVICENOTAVAILABLE = "FailedOperation.ServiceNotAvailable"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_NOTEXISTDOMAIN = "InvalidParameterValue.NotExistDomain"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) UpdateEmailIdentityWithContext

func (c *Client) UpdateEmailIdentityWithContext(ctx context.Context, request *UpdateEmailIdentityRequest) (response *UpdateEmailIdentityResponse, err error)

UpdateEmailIdentity This API is used to verify whether your DNS configuration is correct.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_SERVICENOTAVAILABLE = "FailedOperation.ServiceNotAvailable"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_NOTEXISTDOMAIN = "InvalidParameterValue.NotExistDomain"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) UpdateEmailSmtpPassWord

func (c *Client) UpdateEmailSmtpPassWord(request *UpdateEmailSmtpPassWordRequest) (response *UpdateEmailSmtpPassWordResponse, err error)

UpdateEmailSmtpPassWord This API is used to set the SMTP password. Initially, no SMTP password is set for your email address, so emails cannot be sent over SMTP. To send emails over SMTP, you must set the SMTP password. The set password can be changed subsequently.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_INVALIDSMTPPASSWORD = "InvalidParameterValue.InvalidSmtpPassWord"
INVALIDPARAMETERVALUE_NOSUCHSENDER = "InvalidParameterValue.NoSuchSender"
OPERATIONDENIED_REPEATPASSWORD = "OperationDenied.RepeatPassWord"

func (*Client) UpdateEmailSmtpPassWordWithContext

func (c *Client) UpdateEmailSmtpPassWordWithContext(ctx context.Context, request *UpdateEmailSmtpPassWordRequest) (response *UpdateEmailSmtpPassWordResponse, err error)

UpdateEmailSmtpPassWord This API is used to set the SMTP password. Initially, no SMTP password is set for your email address, so emails cannot be sent over SMTP. To send emails over SMTP, you must set the SMTP password. The set password can be changed subsequently.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_INVALIDSMTPPASSWORD = "InvalidParameterValue.InvalidSmtpPassWord"
INVALIDPARAMETERVALUE_NOSUCHSENDER = "InvalidParameterValue.NoSuchSender"
OPERATIONDENIED_REPEATPASSWORD = "OperationDenied.RepeatPassWord"

func (*Client) UpdateEmailTemplate

func (c *Client) UpdateEmailTemplate(request *UpdateEmailTemplateRequest) (response *UpdateEmailTemplateResponse, err error)

UpdateEmailTemplate This API is used to update an email template. An updated template must be approved again before it can be used.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TEMPLATECONTENTISNULL = "InvalidParameterValue.TemplateContentIsNULL"
INVALIDPARAMETERVALUE_TEMPLATECONTENTISWRONG = "InvalidParameterValue.TemplateContentIsWrong"
INVALIDPARAMETERVALUE_TEMPLATENAMEILLEGAL = "InvalidParameterValue.TemplateNameIllegal"
INVALIDPARAMETERVALUE_TEMPLATENAMEISNULL = "InvalidParameterValue.TemplateNameIsNULL"
INVALIDPARAMETERVALUE_TEMPLATENOTEXIST = "InvalidParameterValue.TemplateNotExist"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

func (*Client) UpdateEmailTemplateWithContext

func (c *Client) UpdateEmailTemplateWithContext(ctx context.Context, request *UpdateEmailTemplateRequest) (response *UpdateEmailTemplateResponse, err error)

UpdateEmailTemplate This API is used to update an email template. An updated template must be approved again before it can be used.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TEMPLATECONTENTISNULL = "InvalidParameterValue.TemplateContentIsNULL"
INVALIDPARAMETERVALUE_TEMPLATECONTENTISWRONG = "InvalidParameterValue.TemplateContentIsWrong"
INVALIDPARAMETERVALUE_TEMPLATENAMEILLEGAL = "InvalidParameterValue.TemplateNameIllegal"
INVALIDPARAMETERVALUE_TEMPLATENAMEISNULL = "InvalidParameterValue.TemplateNameIsNULL"
INVALIDPARAMETERVALUE_TEMPLATENOTEXIST = "InvalidParameterValue.TemplateNotExist"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

type CreateAddressUnsubscribeConfigRequest

type CreateAddressUnsubscribeConfigRequest struct {
	*tchttp.BaseRequest

	// Sender address.
	Address *string `json:"Address,omitnil,omitempty" name:"Address"`

	// Unsubscribe link option. 0: Do not add unsubscribe link; 1: English 2: Simplified Chinese; 3: Traditional Chinese; 4: Spanish; 5: French; 6: German; 7: Japanese; 8: Korean; 9: Arabic; 10: Thai
	UnsubscribeConfig *string `json:"UnsubscribeConfig,omitnil,omitempty" name:"UnsubscribeConfig"`

	// 0: disabled; 1: enabled.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
}

func NewCreateAddressUnsubscribeConfigRequest

func NewCreateAddressUnsubscribeConfigRequest() (request *CreateAddressUnsubscribeConfigRequest)

func (*CreateAddressUnsubscribeConfigRequest) FromJsonString

func (r *CreateAddressUnsubscribeConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAddressUnsubscribeConfigRequest) ToJsonString

type CreateAddressUnsubscribeConfigRequestParams

type CreateAddressUnsubscribeConfigRequestParams struct {
	// Sender address.
	Address *string `json:"Address,omitnil,omitempty" name:"Address"`

	// Unsubscribe link option. 0: Do not add unsubscribe link; 1: English 2: Simplified Chinese; 3: Traditional Chinese; 4: Spanish; 5: French; 6: German; 7: Japanese; 8: Korean; 9: Arabic; 10: Thai
	UnsubscribeConfig *string `json:"UnsubscribeConfig,omitnil,omitempty" name:"UnsubscribeConfig"`

	// 0: disabled; 1: enabled.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
}

Predefined struct for user

type CreateAddressUnsubscribeConfigResponse

type CreateAddressUnsubscribeConfigResponse struct {
	*tchttp.BaseResponse
	Response *CreateAddressUnsubscribeConfigResponseParams `json:"Response"`
}

func NewCreateAddressUnsubscribeConfigResponse

func NewCreateAddressUnsubscribeConfigResponse() (response *CreateAddressUnsubscribeConfigResponse)

func (*CreateAddressUnsubscribeConfigResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAddressUnsubscribeConfigResponse) ToJsonString

type CreateAddressUnsubscribeConfigResponseParams

type CreateAddressUnsubscribeConfigResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateCustomBlacklistRequest

type CreateCustomBlacklistRequest struct {
	*tchttp.BaseRequest

	// Add to blocklist email address.
	Emails []*string `json:"Emails,omitnil,omitempty" name:"Emails"`

	// Expiration date.
	ExpireDate *string `json:"ExpireDate,omitnil,omitempty" name:"ExpireDate"`
}

func NewCreateCustomBlacklistRequest

func NewCreateCustomBlacklistRequest() (request *CreateCustomBlacklistRequest)

func (*CreateCustomBlacklistRequest) FromJsonString

func (r *CreateCustomBlacklistRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCustomBlacklistRequest) ToJsonString

func (r *CreateCustomBlacklistRequest) ToJsonString() string

type CreateCustomBlacklistRequestParams

type CreateCustomBlacklistRequestParams struct {
	// Add to blocklist email address.
	Emails []*string `json:"Emails,omitnil,omitempty" name:"Emails"`

	// Expiration date.
	ExpireDate *string `json:"ExpireDate,omitnil,omitempty" name:"ExpireDate"`
}

Predefined struct for user

type CreateCustomBlacklistResponse

type CreateCustomBlacklistResponse struct {
	*tchttp.BaseResponse
	Response *CreateCustomBlacklistResponseParams `json:"Response"`
}

func NewCreateCustomBlacklistResponse

func NewCreateCustomBlacklistResponse() (response *CreateCustomBlacklistResponse)

func (*CreateCustomBlacklistResponse) FromJsonString

func (r *CreateCustomBlacklistResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCustomBlacklistResponse) ToJsonString

func (r *CreateCustomBlacklistResponse) ToJsonString() string

type CreateCustomBlacklistResponseParams

type CreateCustomBlacklistResponseParams struct {
	// Total number of recipients.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Actual uploaded quantity.
	ValidCount *uint64 `json:"ValidCount,omitnil,omitempty" name:"ValidCount"`

	// Data too long quantity.
	TooLongCount *uint64 `json:"TooLongCount,omitnil,omitempty" name:"TooLongCount"`

	// Repetition count.
	RepeatCount *uint64 `json:"RepeatCount,omitnil,omitempty" name:"RepeatCount"`

	// Incorrect format count.
	InvalidCount *uint64 `json:"InvalidCount,omitnil,omitempty" name:"InvalidCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateEmailAddressRequest

type CreateEmailAddressRequest struct {
	*tchttp.BaseRequest

	// Your sender address. (You can create up to 10 sender addresses for each domain.)
	EmailAddress *string `json:"EmailAddress,omitnil,omitempty" name:"EmailAddress"`

	// Sender name.
	EmailSenderName *string `json:"EmailSenderName,omitnil,omitempty" name:"EmailSenderName"`
}

func NewCreateEmailAddressRequest

func NewCreateEmailAddressRequest() (request *CreateEmailAddressRequest)

func (*CreateEmailAddressRequest) FromJsonString

func (r *CreateEmailAddressRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateEmailAddressRequest) ToJsonString

func (r *CreateEmailAddressRequest) ToJsonString() string

type CreateEmailAddressRequestParams

type CreateEmailAddressRequestParams struct {
	// Your sender address. (You can create up to 10 sender addresses for each domain.)
	EmailAddress *string `json:"EmailAddress,omitnil,omitempty" name:"EmailAddress"`

	// Sender name.
	EmailSenderName *string `json:"EmailSenderName,omitnil,omitempty" name:"EmailSenderName"`
}

Predefined struct for user

type CreateEmailAddressResponse

type CreateEmailAddressResponse struct {
	*tchttp.BaseResponse
	Response *CreateEmailAddressResponseParams `json:"Response"`
}

func NewCreateEmailAddressResponse

func NewCreateEmailAddressResponse() (response *CreateEmailAddressResponse)

func (*CreateEmailAddressResponse) FromJsonString

func (r *CreateEmailAddressResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateEmailAddressResponse) ToJsonString

func (r *CreateEmailAddressResponse) ToJsonString() string

type CreateEmailAddressResponseParams

type CreateEmailAddressResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateEmailIdentityRequest

type CreateEmailIdentityRequest struct {
	*tchttp.BaseRequest

	// Your sender domain. You are advised to use a third-level domain, for example, mail.qcloud.com.
	EmailIdentity *string `json:"EmailIdentity,omitnil,omitempty" name:"EmailIdentity"`

	// Generated dkim key length. valid values: 0 (1024), 1 (2048).
	DKIMOption *uint64 `json:"DKIMOption,omitnil,omitempty" name:"DKIMOption"`

	// tag.
	TagList []*TagList `json:"TagList,omitnil,omitempty" name:"TagList"`
}

func NewCreateEmailIdentityRequest

func NewCreateEmailIdentityRequest() (request *CreateEmailIdentityRequest)

func (*CreateEmailIdentityRequest) FromJsonString

func (r *CreateEmailIdentityRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateEmailIdentityRequest) ToJsonString

func (r *CreateEmailIdentityRequest) ToJsonString() string

type CreateEmailIdentityRequestParams

type CreateEmailIdentityRequestParams struct {
	// Your sender domain. You are advised to use a third-level domain, for example, mail.qcloud.com.
	EmailIdentity *string `json:"EmailIdentity,omitnil,omitempty" name:"EmailIdentity"`

	// Generated dkim key length. valid values: 0 (1024), 1 (2048).
	DKIMOption *uint64 `json:"DKIMOption,omitnil,omitempty" name:"DKIMOption"`

	// tag.
	TagList []*TagList `json:"TagList,omitnil,omitempty" name:"TagList"`
}

Predefined struct for user

type CreateEmailIdentityResponse

type CreateEmailIdentityResponse struct {
	*tchttp.BaseResponse
	Response *CreateEmailIdentityResponseParams `json:"Response"`
}

func NewCreateEmailIdentityResponse

func NewCreateEmailIdentityResponse() (response *CreateEmailIdentityResponse)

func (*CreateEmailIdentityResponse) FromJsonString

func (r *CreateEmailIdentityResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateEmailIdentityResponse) ToJsonString

func (r *CreateEmailIdentityResponse) ToJsonString() string

type CreateEmailIdentityResponseParams

type CreateEmailIdentityResponseParams struct {
	// Verification type. The value is fixed to `DOMAIN`.
	IdentityType *string `json:"IdentityType,omitnil,omitempty" name:"IdentityType"`

	// Verification passed or not.
	VerifiedForSendingStatus *bool `json:"VerifiedForSendingStatus,omitnil,omitempty" name:"VerifiedForSendingStatus"`

	// DNS information that needs to be configured.
	Attributes []*DNSAttributes `json:"Attributes,omitnil,omitempty" name:"Attributes"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateEmailTemplateRequest

type CreateEmailTemplateRequest struct {
	*tchttp.BaseRequest

	// Template name.
	TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"`

	// Template content.
	TemplateContent *TemplateContent `json:"TemplateContent,omitnil,omitempty" name:"TemplateContent"`
}

func NewCreateEmailTemplateRequest

func NewCreateEmailTemplateRequest() (request *CreateEmailTemplateRequest)

func (*CreateEmailTemplateRequest) FromJsonString

func (r *CreateEmailTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateEmailTemplateRequest) ToJsonString

func (r *CreateEmailTemplateRequest) ToJsonString() string

type CreateEmailTemplateRequestParams

type CreateEmailTemplateRequestParams struct {
	// Template name.
	TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"`

	// Template content.
	TemplateContent *TemplateContent `json:"TemplateContent,omitnil,omitempty" name:"TemplateContent"`
}

Predefined struct for user

type CreateEmailTemplateResponse

type CreateEmailTemplateResponse struct {
	*tchttp.BaseResponse
	Response *CreateEmailTemplateResponseParams `json:"Response"`
}

func NewCreateEmailTemplateResponse

func NewCreateEmailTemplateResponse() (response *CreateEmailTemplateResponse)

func (*CreateEmailTemplateResponse) FromJsonString

func (r *CreateEmailTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateEmailTemplateResponse) ToJsonString

func (r *CreateEmailTemplateResponse) ToJsonString() string

type CreateEmailTemplateResponseParams

type CreateEmailTemplateResponseParams struct {
	// Template ID
	TemplateID *uint64 `json:"TemplateID,omitnil,omitempty" name:"TemplateID"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateReceiverDetailRequest

type CreateReceiverDetailRequest struct {
	*tchttp.BaseRequest

	// Recipient group ID
	ReceiverId *uint64 `json:"ReceiverId,omitnil,omitempty" name:"ReceiverId"`

	// Email address
	Emails []*string `json:"Emails,omitnil,omitempty" name:"Emails"`
}

func NewCreateReceiverDetailRequest

func NewCreateReceiverDetailRequest() (request *CreateReceiverDetailRequest)

func (*CreateReceiverDetailRequest) FromJsonString

func (r *CreateReceiverDetailRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateReceiverDetailRequest) ToJsonString

func (r *CreateReceiverDetailRequest) ToJsonString() string

type CreateReceiverDetailRequestParams

type CreateReceiverDetailRequestParams struct {
	// Recipient group ID
	ReceiverId *uint64 `json:"ReceiverId,omitnil,omitempty" name:"ReceiverId"`

	// Email address
	Emails []*string `json:"Emails,omitnil,omitempty" name:"Emails"`
}

Predefined struct for user

type CreateReceiverDetailResponse

type CreateReceiverDetailResponse struct {
	*tchttp.BaseResponse
	Response *CreateReceiverDetailResponseParams `json:"Response"`
}

func NewCreateReceiverDetailResponse

func NewCreateReceiverDetailResponse() (response *CreateReceiverDetailResponse)

func (*CreateReceiverDetailResponse) FromJsonString

func (r *CreateReceiverDetailResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateReceiverDetailResponse) ToJsonString

func (r *CreateReceiverDetailResponse) ToJsonString() string

type CreateReceiverDetailResponseParams

type CreateReceiverDetailResponseParams struct {
	// Total number of recipients.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Actual uploaded quantity.
	ValidCount *uint64 `json:"ValidCount,omitnil,omitempty" name:"ValidCount"`

	// Data too long quantity.
	TooLongCount *uint64 `json:"TooLongCount,omitnil,omitempty" name:"TooLongCount"`

	// Number of empty email addresses.
	EmptyEmailCount *uint64 `json:"EmptyEmailCount,omitnil,omitempty" name:"EmptyEmailCount"`

	// Repetition count.
	RepeatCount *uint64 `json:"RepeatCount,omitnil,omitempty" name:"RepeatCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateReceiverDetailWithDataRequest

type CreateReceiverDetailWithDataRequest struct {
	*tchttp.BaseRequest

	// Recipient list ID.
	ReceiverId *uint64 `json:"ReceiverId,omitnil,omitempty" name:"ReceiverId"`

	// Recipient mailbox and template parameters in array format. limit on the number of recipients not exceeding 20000.
	Datas []*ReceiverInputData `json:"Datas,omitnil,omitempty" name:"Datas"`
}

func NewCreateReceiverDetailWithDataRequest

func NewCreateReceiverDetailWithDataRequest() (request *CreateReceiverDetailWithDataRequest)

func (*CreateReceiverDetailWithDataRequest) FromJsonString

func (r *CreateReceiverDetailWithDataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateReceiverDetailWithDataRequest) ToJsonString

func (r *CreateReceiverDetailWithDataRequest) ToJsonString() string

type CreateReceiverDetailWithDataRequestParams

type CreateReceiverDetailWithDataRequestParams struct {
	// Recipient list ID.
	ReceiverId *uint64 `json:"ReceiverId,omitnil,omitempty" name:"ReceiverId"`

	// Recipient mailbox and template parameters in array format. limit on the number of recipients not exceeding 20000.
	Datas []*ReceiverInputData `json:"Datas,omitnil,omitempty" name:"Datas"`
}

Predefined struct for user

type CreateReceiverDetailWithDataResponse

type CreateReceiverDetailWithDataResponse struct {
	*tchttp.BaseResponse
	Response *CreateReceiverDetailWithDataResponseParams `json:"Response"`
}

func NewCreateReceiverDetailWithDataResponse

func NewCreateReceiverDetailWithDataResponse() (response *CreateReceiverDetailWithDataResponse)

func (*CreateReceiverDetailWithDataResponse) FromJsonString

func (r *CreateReceiverDetailWithDataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateReceiverDetailWithDataResponse) ToJsonString

func (r *CreateReceiverDetailWithDataResponse) ToJsonString() string

type CreateReceiverDetailWithDataResponseParams

type CreateReceiverDetailWithDataResponseParams struct {
	// Recipient total number.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Uploaded quantity.
	ValidCount *uint64 `json:"ValidCount,omitnil,omitempty" name:"ValidCount"`

	// Data too long quantity.
	TooLongCount *uint64 `json:"TooLongCount,omitnil,omitempty" name:"TooLongCount"`

	// Number of empty email addresses.
	EmptyEmailCount *uint64 `json:"EmptyEmailCount,omitnil,omitempty" name:"EmptyEmailCount"`

	// Repetition count.
	RepeatCount *uint64 `json:"RepeatCount,omitnil,omitempty" name:"RepeatCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateReceiverRequest

type CreateReceiverRequest struct {
	*tchttp.BaseRequest

	// Recipient group name
	ReceiversName *string `json:"ReceiversName,omitnil,omitempty" name:"ReceiversName"`

	// Recipient group description
	Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"`
}

func NewCreateReceiverRequest

func NewCreateReceiverRequest() (request *CreateReceiverRequest)

func (*CreateReceiverRequest) FromJsonString

func (r *CreateReceiverRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateReceiverRequest) ToJsonString

func (r *CreateReceiverRequest) ToJsonString() string

type CreateReceiverRequestParams

type CreateReceiverRequestParams struct {
	// Recipient group name
	ReceiversName *string `json:"ReceiversName,omitnil,omitempty" name:"ReceiversName"`

	// Recipient group description
	Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"`
}

Predefined struct for user

type CreateReceiverResponse

type CreateReceiverResponse struct {
	*tchttp.BaseResponse
	Response *CreateReceiverResponseParams `json:"Response"`
}

func NewCreateReceiverResponse

func NewCreateReceiverResponse() (response *CreateReceiverResponse)

func (*CreateReceiverResponse) FromJsonString

func (r *CreateReceiverResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateReceiverResponse) ToJsonString

func (r *CreateReceiverResponse) ToJsonString() string

type CreateReceiverResponseParams

type CreateReceiverResponseParams struct {
	// Recipient group ID, by which recipient email addresses are uploaded
	ReceiverId *uint64 `json:"ReceiverId,omitnil,omitempty" name:"ReceiverId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CycleEmailParam

type CycleEmailParam struct {
	// Start time of the task
	BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`

	// Task recurrence in hours
	IntervalTime *uint64 `json:"IntervalTime,omitnil,omitempty" name:"IntervalTime"`

	// Specifies whether to end the cycle. This parameter is used to update the task. Valid values: 0: No; 1: Yes.
	TermCycle *uint64 `json:"TermCycle,omitnil,omitempty" name:"TermCycle"`
}

type DNSAttributes

type DNSAttributes struct {
	// Record types: CNAME, A, TXT, and MX.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Domain name.
	SendDomain *string `json:"SendDomain,omitnil,omitempty" name:"SendDomain"`

	// Expected value.
	ExpectedValue *string `json:"ExpectedValue,omitnil,omitempty" name:"ExpectedValue"`

	// Currently configured value.
	CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"`

	// Approved or not. The default value is `false`.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

type DeleteAddressUnsubscribeConfigRequest

type DeleteAddressUnsubscribeConfigRequest struct {
	*tchttp.BaseRequest

	// Sender address.
	Address *string `json:"Address,omitnil,omitempty" name:"Address"`
}

func NewDeleteAddressUnsubscribeConfigRequest

func NewDeleteAddressUnsubscribeConfigRequest() (request *DeleteAddressUnsubscribeConfigRequest)

func (*DeleteAddressUnsubscribeConfigRequest) FromJsonString

func (r *DeleteAddressUnsubscribeConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAddressUnsubscribeConfigRequest) ToJsonString

type DeleteAddressUnsubscribeConfigRequestParams

type DeleteAddressUnsubscribeConfigRequestParams struct {
	// Sender address.
	Address *string `json:"Address,omitnil,omitempty" name:"Address"`
}

Predefined struct for user

type DeleteAddressUnsubscribeConfigResponse

type DeleteAddressUnsubscribeConfigResponse struct {
	*tchttp.BaseResponse
	Response *DeleteAddressUnsubscribeConfigResponseParams `json:"Response"`
}

func NewDeleteAddressUnsubscribeConfigResponse

func NewDeleteAddressUnsubscribeConfigResponse() (response *DeleteAddressUnsubscribeConfigResponse)

func (*DeleteAddressUnsubscribeConfigResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAddressUnsubscribeConfigResponse) ToJsonString

type DeleteAddressUnsubscribeConfigResponseParams

type DeleteAddressUnsubscribeConfigResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteBlackListRequest

type DeleteBlackListRequest struct {
	*tchttp.BaseRequest

	// List of email addresses to be unblocklisted. Enter at least one address.
	EmailAddressList []*string `json:"EmailAddressList,omitnil,omitempty" name:"EmailAddressList"`
}

func NewDeleteBlackListRequest

func NewDeleteBlackListRequest() (request *DeleteBlackListRequest)

func (*DeleteBlackListRequest) FromJsonString

func (r *DeleteBlackListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteBlackListRequest) ToJsonString

func (r *DeleteBlackListRequest) ToJsonString() string

type DeleteBlackListRequestParams

type DeleteBlackListRequestParams struct {
	// List of email addresses to be unblocklisted. Enter at least one address.
	EmailAddressList []*string `json:"EmailAddressList,omitnil,omitempty" name:"EmailAddressList"`
}

Predefined struct for user

type DeleteBlackListResponse

type DeleteBlackListResponse struct {
	*tchttp.BaseResponse
	Response *DeleteBlackListResponseParams `json:"Response"`
}

func NewDeleteBlackListResponse

func NewDeleteBlackListResponse() (response *DeleteBlackListResponse)

func (*DeleteBlackListResponse) FromJsonString

func (r *DeleteBlackListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteBlackListResponse) ToJsonString

func (r *DeleteBlackListResponse) ToJsonString() string

type DeleteBlackListResponseParams

type DeleteBlackListResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteCustomBlackListRequest

type DeleteCustomBlackListRequest struct {
	*tchttp.BaseRequest

	// Email address that needs to be deleted.
	Emails []*string `json:"Emails,omitnil,omitempty" name:"Emails"`
}

func NewDeleteCustomBlackListRequest

func NewDeleteCustomBlackListRequest() (request *DeleteCustomBlackListRequest)

func (*DeleteCustomBlackListRequest) FromJsonString

func (r *DeleteCustomBlackListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCustomBlackListRequest) ToJsonString

func (r *DeleteCustomBlackListRequest) ToJsonString() string

type DeleteCustomBlackListRequestParams

type DeleteCustomBlackListRequestParams struct {
	// Email address that needs to be deleted.
	Emails []*string `json:"Emails,omitnil,omitempty" name:"Emails"`
}

Predefined struct for user

type DeleteCustomBlackListResponse

type DeleteCustomBlackListResponse struct {
	*tchttp.BaseResponse
	Response *DeleteCustomBlackListResponseParams `json:"Response"`
}

func NewDeleteCustomBlackListResponse

func NewDeleteCustomBlackListResponse() (response *DeleteCustomBlackListResponse)

func (*DeleteCustomBlackListResponse) FromJsonString

func (r *DeleteCustomBlackListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCustomBlackListResponse) ToJsonString

func (r *DeleteCustomBlackListResponse) ToJsonString() string

type DeleteCustomBlackListResponseParams

type DeleteCustomBlackListResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteEmailAddressRequest

type DeleteEmailAddressRequest struct {
	*tchttp.BaseRequest

	// Sender address.
	EmailAddress *string `json:"EmailAddress,omitnil,omitempty" name:"EmailAddress"`
}

func NewDeleteEmailAddressRequest

func NewDeleteEmailAddressRequest() (request *DeleteEmailAddressRequest)

func (*DeleteEmailAddressRequest) FromJsonString

func (r *DeleteEmailAddressRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteEmailAddressRequest) ToJsonString

func (r *DeleteEmailAddressRequest) ToJsonString() string

type DeleteEmailAddressRequestParams

type DeleteEmailAddressRequestParams struct {
	// Sender address.
	EmailAddress *string `json:"EmailAddress,omitnil,omitempty" name:"EmailAddress"`
}

Predefined struct for user

type DeleteEmailAddressResponse

type DeleteEmailAddressResponse struct {
	*tchttp.BaseResponse
	Response *DeleteEmailAddressResponseParams `json:"Response"`
}

func NewDeleteEmailAddressResponse

func NewDeleteEmailAddressResponse() (response *DeleteEmailAddressResponse)

func (*DeleteEmailAddressResponse) FromJsonString

func (r *DeleteEmailAddressResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteEmailAddressResponse) ToJsonString

func (r *DeleteEmailAddressResponse) ToJsonString() string

type DeleteEmailAddressResponseParams

type DeleteEmailAddressResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteEmailIdentityRequest

type DeleteEmailIdentityRequest struct {
	*tchttp.BaseRequest

	// Sender domain.
	EmailIdentity *string `json:"EmailIdentity,omitnil,omitempty" name:"EmailIdentity"`
}

func NewDeleteEmailIdentityRequest

func NewDeleteEmailIdentityRequest() (request *DeleteEmailIdentityRequest)

func (*DeleteEmailIdentityRequest) FromJsonString

func (r *DeleteEmailIdentityRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteEmailIdentityRequest) ToJsonString

func (r *DeleteEmailIdentityRequest) ToJsonString() string

type DeleteEmailIdentityRequestParams

type DeleteEmailIdentityRequestParams struct {
	// Sender domain.
	EmailIdentity *string `json:"EmailIdentity,omitnil,omitempty" name:"EmailIdentity"`
}

Predefined struct for user

type DeleteEmailIdentityResponse

type DeleteEmailIdentityResponse struct {
	*tchttp.BaseResponse
	Response *DeleteEmailIdentityResponseParams `json:"Response"`
}

func NewDeleteEmailIdentityResponse

func NewDeleteEmailIdentityResponse() (response *DeleteEmailIdentityResponse)

func (*DeleteEmailIdentityResponse) FromJsonString

func (r *DeleteEmailIdentityResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteEmailIdentityResponse) ToJsonString

func (r *DeleteEmailIdentityResponse) ToJsonString() string

type DeleteEmailIdentityResponseParams

type DeleteEmailIdentityResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteEmailTemplateRequest

type DeleteEmailTemplateRequest struct {
	*tchttp.BaseRequest

	// Template ID
	TemplateID *uint64 `json:"TemplateID,omitnil,omitempty" name:"TemplateID"`
}

func NewDeleteEmailTemplateRequest

func NewDeleteEmailTemplateRequest() (request *DeleteEmailTemplateRequest)

func (*DeleteEmailTemplateRequest) FromJsonString

func (r *DeleteEmailTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteEmailTemplateRequest) ToJsonString

func (r *DeleteEmailTemplateRequest) ToJsonString() string

type DeleteEmailTemplateRequestParams

type DeleteEmailTemplateRequestParams struct {
	// Template ID
	TemplateID *uint64 `json:"TemplateID,omitnil,omitempty" name:"TemplateID"`
}

Predefined struct for user

type DeleteEmailTemplateResponse

type DeleteEmailTemplateResponse struct {
	*tchttp.BaseResponse
	Response *DeleteEmailTemplateResponseParams `json:"Response"`
}

func NewDeleteEmailTemplateResponse

func NewDeleteEmailTemplateResponse() (response *DeleteEmailTemplateResponse)

func (*DeleteEmailTemplateResponse) FromJsonString

func (r *DeleteEmailTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteEmailTemplateResponse) ToJsonString

func (r *DeleteEmailTemplateResponse) ToJsonString() string

type DeleteEmailTemplateResponseParams

type DeleteEmailTemplateResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteReceiverRequest

type DeleteReceiverRequest struct {
	*tchttp.BaseRequest

	// Recipient group ID, which is returned when a recipient group is created.
	ReceiverId *uint64 `json:"ReceiverId,omitnil,omitempty" name:"ReceiverId"`
}

func NewDeleteReceiverRequest

func NewDeleteReceiverRequest() (request *DeleteReceiverRequest)

func (*DeleteReceiverRequest) FromJsonString

func (r *DeleteReceiverRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteReceiverRequest) ToJsonString

func (r *DeleteReceiverRequest) ToJsonString() string

type DeleteReceiverRequestParams

type DeleteReceiverRequestParams struct {
	// Recipient group ID, which is returned when a recipient group is created.
	ReceiverId *uint64 `json:"ReceiverId,omitnil,omitempty" name:"ReceiverId"`
}

Predefined struct for user

type DeleteReceiverResponse

type DeleteReceiverResponse struct {
	*tchttp.BaseResponse
	Response *DeleteReceiverResponseParams `json:"Response"`
}

func NewDeleteReceiverResponse

func NewDeleteReceiverResponse() (response *DeleteReceiverResponse)

func (*DeleteReceiverResponse) FromJsonString

func (r *DeleteReceiverResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteReceiverResponse) ToJsonString

func (r *DeleteReceiverResponse) ToJsonString() string

type DeleteReceiverResponseParams

type DeleteReceiverResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type EmailIdentity

type EmailIdentity struct {
	// Sender domain.
	IdentityName *string `json:"IdentityName,omitnil,omitempty" name:"IdentityName"`

	// Verification type. The value is fixed to `DOMAIN`.
	IdentityType *string `json:"IdentityType,omitnil,omitempty" name:"IdentityType"`

	// Verification passed or not.
	SendingEnabled *bool `json:"SendingEnabled,omitnil,omitempty" name:"SendingEnabled"`

	// Current reputation level
	CurrentReputationLevel *uint64 `json:"CurrentReputationLevel,omitnil,omitempty" name:"CurrentReputationLevel"`

	// Maximum number of messages sent per day
	DailyQuota *uint64 `json:"DailyQuota,omitnil,omitempty" name:"DailyQuota"`

	// Independent ip for domain configuration.
	SendIp []*string `json:"SendIp,omitnil,omitempty" name:"SendIp"`

	// tag.
	TagList []*TagList `json:"TagList,omitnil,omitempty" name:"TagList"`
}

type EmailSender

type EmailSender struct {
	// Sender address.
	EmailAddress *string `json:"EmailAddress,omitnil,omitempty" name:"EmailAddress"`

	// Sender alias.
	EmailSenderName *string `json:"EmailSenderName,omitnil,omitempty" name:"EmailSenderName"`

	// Creation time.
	//
	CreatedTimestamp *uint64 `json:"CreatedTimestamp,omitnil,omitempty" name:"CreatedTimestamp"`

	// smtp password type. 0=not set. 1=already set up.
	SmtpPwdType *uint64 `json:"SmtpPwdType,omitnil,omitempty" name:"SmtpPwdType"`
}

type GetAbuseReportRequest

type GetAbuseReportRequest struct {
	*tchttp.BaseRequest

	// Start time.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Offset.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit quantity (default: 1000).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Sender domain name.
	FromDomain *string `json:"FromDomain,omitnil,omitempty" name:"FromDomain"`

	// Sender address.
	FromAddress *string `json:"FromAddress,omitnil,omitempty" name:"FromAddress"`

	// Recipient domain name.
	Mta *string `json:"Mta,omitnil,omitempty" name:"Mta"`

	// Receive email.
	ToAddress *string `json:"ToAddress,omitnil,omitempty" name:"ToAddress"`

	// Template ID
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`
}

func NewGetAbuseReportRequest

func NewGetAbuseReportRequest() (request *GetAbuseReportRequest)

func (*GetAbuseReportRequest) FromJsonString

func (r *GetAbuseReportRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetAbuseReportRequest) ToJsonString

func (r *GetAbuseReportRequest) ToJsonString() string

type GetAbuseReportRequestParams

type GetAbuseReportRequestParams struct {
	// Start time.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Offset.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit quantity (default: 1000).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Sender domain name.
	FromDomain *string `json:"FromDomain,omitnil,omitempty" name:"FromDomain"`

	// Sender address.
	FromAddress *string `json:"FromAddress,omitnil,omitempty" name:"FromAddress"`

	// Recipient domain name.
	Mta *string `json:"Mta,omitnil,omitempty" name:"Mta"`

	// Receive email.
	ToAddress *string `json:"ToAddress,omitnil,omitempty" name:"ToAddress"`

	// Template ID
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`
}

Predefined struct for user

type GetAbuseReportResponse

type GetAbuseReportResponse struct {
	*tchttp.BaseResponse
	Response *GetAbuseReportResponseParams `json:"Response"`
}

func NewGetAbuseReportResponse

func NewGetAbuseReportResponse() (response *GetAbuseReportResponse)

func (*GetAbuseReportResponse) FromJsonString

func (r *GetAbuseReportResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetAbuseReportResponse) ToJsonString

func (r *GetAbuseReportResponse) ToJsonString() string

type GetAbuseReportResponseParams

type GetAbuseReportResponseParams struct {
	// Log data.
	Data []*AbuseReport `json:"Data,omitnil,omitempty" name:"Data"`

	// Total quantity.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetEmailIdentityRequest

type GetEmailIdentityRequest struct {
	*tchttp.BaseRequest

	// Sender domain.
	EmailIdentity *string `json:"EmailIdentity,omitnil,omitempty" name:"EmailIdentity"`
}

func NewGetEmailIdentityRequest

func NewGetEmailIdentityRequest() (request *GetEmailIdentityRequest)

func (*GetEmailIdentityRequest) FromJsonString

func (r *GetEmailIdentityRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetEmailIdentityRequest) ToJsonString

func (r *GetEmailIdentityRequest) ToJsonString() string

type GetEmailIdentityRequestParams

type GetEmailIdentityRequestParams struct {
	// Sender domain.
	EmailIdentity *string `json:"EmailIdentity,omitnil,omitempty" name:"EmailIdentity"`
}

Predefined struct for user

type GetEmailIdentityResponse

type GetEmailIdentityResponse struct {
	*tchttp.BaseResponse
	Response *GetEmailIdentityResponseParams `json:"Response"`
}

func NewGetEmailIdentityResponse

func NewGetEmailIdentityResponse() (response *GetEmailIdentityResponse)

func (*GetEmailIdentityResponse) FromJsonString

func (r *GetEmailIdentityResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetEmailIdentityResponse) ToJsonString

func (r *GetEmailIdentityResponse) ToJsonString() string

type GetEmailIdentityResponseParams

type GetEmailIdentityResponseParams struct {
	// Verification type. The value is fixed to `DOMAIN`.
	IdentityType *string `json:"IdentityType,omitnil,omitempty" name:"IdentityType"`

	// Verification passed or not.
	VerifiedForSendingStatus *bool `json:"VerifiedForSendingStatus,omitnil,omitempty" name:"VerifiedForSendingStatus"`

	// DNS configuration details.
	Attributes []*DNSAttributes `json:"Attributes,omitnil,omitempty" name:"Attributes"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetEmailTemplateRequest

type GetEmailTemplateRequest struct {
	*tchttp.BaseRequest

	// Template ID.
	TemplateID *uint64 `json:"TemplateID,omitnil,omitempty" name:"TemplateID"`
}

func NewGetEmailTemplateRequest

func NewGetEmailTemplateRequest() (request *GetEmailTemplateRequest)

func (*GetEmailTemplateRequest) FromJsonString

func (r *GetEmailTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetEmailTemplateRequest) ToJsonString

func (r *GetEmailTemplateRequest) ToJsonString() string

type GetEmailTemplateRequestParams

type GetEmailTemplateRequestParams struct {
	// Template ID.
	TemplateID *uint64 `json:"TemplateID,omitnil,omitempty" name:"TemplateID"`
}

Predefined struct for user

type GetEmailTemplateResponse

type GetEmailTemplateResponse struct {
	*tchttp.BaseResponse
	Response *GetEmailTemplateResponseParams `json:"Response"`
}

func NewGetEmailTemplateResponse

func NewGetEmailTemplateResponse() (response *GetEmailTemplateResponse)

func (*GetEmailTemplateResponse) FromJsonString

func (r *GetEmailTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetEmailTemplateResponse) ToJsonString

func (r *GetEmailTemplateResponse) ToJsonString() string

type GetEmailTemplateResponseParams

type GetEmailTemplateResponseParams struct {
	// Template content.
	TemplateContent *TemplateContent `json:"TemplateContent,omitnil,omitempty" name:"TemplateContent"`

	// Template status. Valid values: `0` (approved); `1` (pending approval); `2` (rejected).
	TemplateStatus *uint64 `json:"TemplateStatus,omitnil,omitempty" name:"TemplateStatus"`

	// Template name
	TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetSendEmailStatusRequest

type GetSendEmailStatusRequest struct {
	*tchttp.BaseRequest

	// Date sent. This parameter is required. You can only query the sending status for a single date at a time.
	RequestDate *string `json:"RequestDate,omitnil,omitempty" name:"RequestDate"`

	// Offset. Default value: `0`.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Maximum number of pulled entries. Maximum value: `100`.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// The `MessageId` field returned by the `SendMail` API.
	MessageId *string `json:"MessageId,omitnil,omitempty" name:"MessageId"`

	// Recipient email address.
	ToEmailAddress *string `json:"ToEmailAddress,omitnil,omitempty" name:"ToEmailAddress"`
}

func NewGetSendEmailStatusRequest

func NewGetSendEmailStatusRequest() (request *GetSendEmailStatusRequest)

func (*GetSendEmailStatusRequest) FromJsonString

func (r *GetSendEmailStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetSendEmailStatusRequest) ToJsonString

func (r *GetSendEmailStatusRequest) ToJsonString() string

type GetSendEmailStatusRequestParams

type GetSendEmailStatusRequestParams struct {
	// Date sent. This parameter is required. You can only query the sending status for a single date at a time.
	RequestDate *string `json:"RequestDate,omitnil,omitempty" name:"RequestDate"`

	// Offset. Default value: `0`.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Maximum number of pulled entries. Maximum value: `100`.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// The `MessageId` field returned by the `SendMail` API.
	MessageId *string `json:"MessageId,omitnil,omitempty" name:"MessageId"`

	// Recipient email address.
	ToEmailAddress *string `json:"ToEmailAddress,omitnil,omitempty" name:"ToEmailAddress"`
}

Predefined struct for user

type GetSendEmailStatusResponse

type GetSendEmailStatusResponse struct {
	*tchttp.BaseResponse
	Response *GetSendEmailStatusResponseParams `json:"Response"`
}

func NewGetSendEmailStatusResponse

func NewGetSendEmailStatusResponse() (response *GetSendEmailStatusResponse)

func (*GetSendEmailStatusResponse) FromJsonString

func (r *GetSendEmailStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetSendEmailStatusResponse) ToJsonString

func (r *GetSendEmailStatusResponse) ToJsonString() string

type GetSendEmailStatusResponseParams

type GetSendEmailStatusResponseParams struct {
	// Status of sent emails
	EmailStatusList []*SendEmailStatus `json:"EmailStatusList,omitnil,omitempty" name:"EmailStatusList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetStatisticsReportRequest

type GetStatisticsReportRequest struct {
	*tchttp.BaseRequest

	// Start date.
	StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"`

	// End date.
	EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"`

	// Sender domain.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Recipient address type, for example, gmail.com.
	ReceivingMailboxType *string `json:"ReceivingMailboxType,omitnil,omitempty" name:"ReceivingMailboxType"`
}

func NewGetStatisticsReportRequest

func NewGetStatisticsReportRequest() (request *GetStatisticsReportRequest)

func (*GetStatisticsReportRequest) FromJsonString

func (r *GetStatisticsReportRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetStatisticsReportRequest) ToJsonString

func (r *GetStatisticsReportRequest) ToJsonString() string

type GetStatisticsReportRequestParams

type GetStatisticsReportRequestParams struct {
	// Start date.
	StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"`

	// End date.
	EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"`

	// Sender domain.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Recipient address type, for example, gmail.com.
	ReceivingMailboxType *string `json:"ReceivingMailboxType,omitnil,omitempty" name:"ReceivingMailboxType"`
}

Predefined struct for user

type GetStatisticsReportResponse

type GetStatisticsReportResponse struct {
	*tchttp.BaseResponse
	Response *GetStatisticsReportResponseParams `json:"Response"`
}

func NewGetStatisticsReportResponse

func NewGetStatisticsReportResponse() (response *GetStatisticsReportResponse)

func (*GetStatisticsReportResponse) FromJsonString

func (r *GetStatisticsReportResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetStatisticsReportResponse) ToJsonString

func (r *GetStatisticsReportResponse) ToJsonString() string

type GetStatisticsReportResponseParams

type GetStatisticsReportResponseParams struct {
	// Daily email sending statistics.
	DailyVolumes []*Volume `json:"DailyVolumes,omitnil,omitempty" name:"DailyVolumes"`

	// Overall email sending statistics.
	OverallVolume *Volume `json:"OverallVolume,omitnil,omitempty" name:"OverallVolume"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListAddressUnsubscribeConfigRequest

type ListAddressUnsubscribeConfigRequest struct {
	*tchttp.BaseRequest

	// Offset.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// specifies the maximum number of entries to retrieve, with a cap of 100.
	Limit *string `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewListAddressUnsubscribeConfigRequest

func NewListAddressUnsubscribeConfigRequest() (request *ListAddressUnsubscribeConfigRequest)

func (*ListAddressUnsubscribeConfigRequest) FromJsonString

func (r *ListAddressUnsubscribeConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListAddressUnsubscribeConfigRequest) ToJsonString

func (r *ListAddressUnsubscribeConfigRequest) ToJsonString() string

type ListAddressUnsubscribeConfigRequestParams

type ListAddressUnsubscribeConfigRequestParams struct {
	// Offset.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// specifies the maximum number of entries to retrieve, with a cap of 100.
	Limit *string `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type ListAddressUnsubscribeConfigResponse

type ListAddressUnsubscribeConfigResponse struct {
	*tchttp.BaseResponse
	Response *ListAddressUnsubscribeConfigResponseParams `json:"Response"`
}

func NewListAddressUnsubscribeConfigResponse

func NewListAddressUnsubscribeConfigResponse() (response *ListAddressUnsubscribeConfigResponse)

func (*ListAddressUnsubscribeConfigResponse) FromJsonString

func (r *ListAddressUnsubscribeConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListAddressUnsubscribeConfigResponse) ToJsonString

func (r *ListAddressUnsubscribeConfigResponse) ToJsonString() string

type ListAddressUnsubscribeConfigResponseParams

type ListAddressUnsubscribeConfigResponseParams struct {
	// Address-Level unsubscribe configuration.
	AddressUnsubscribeConfigList []*AddressUnsubscribeConfigData `json:"AddressUnsubscribeConfigList,omitnil,omitempty" name:"AddressUnsubscribeConfigList"`

	// Total number.
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListBlackEmailAddressRequest

type ListBlackEmailAddressRequest struct {
	*tchttp.BaseRequest

	// Start date in the format of `YYYY-MM-DD`
	StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"`

	// End date in the format of `YYYY-MM-DD`
	EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"`

	// Common parameter. It must be used with `Offset`.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Common parameter. It must be used with `Limit`. Maximum value of `Limit`: `100`.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// You can specify an email address to query.
	EmailAddress *string `json:"EmailAddress,omitnil,omitempty" name:"EmailAddress"`

	// This parameter has been deprecated.
	TaskID *string `json:"TaskID,omitnil,omitempty" name:"TaskID"`
}

func NewListBlackEmailAddressRequest

func NewListBlackEmailAddressRequest() (request *ListBlackEmailAddressRequest)

func (*ListBlackEmailAddressRequest) FromJsonString

func (r *ListBlackEmailAddressRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListBlackEmailAddressRequest) ToJsonString

func (r *ListBlackEmailAddressRequest) ToJsonString() string

type ListBlackEmailAddressRequestParams

type ListBlackEmailAddressRequestParams struct {
	// Start date in the format of `YYYY-MM-DD`
	StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"`

	// End date in the format of `YYYY-MM-DD`
	EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"`

	// Common parameter. It must be used with `Offset`.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Common parameter. It must be used with `Limit`. Maximum value of `Limit`: `100`.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// You can specify an email address to query.
	EmailAddress *string `json:"EmailAddress,omitnil,omitempty" name:"EmailAddress"`

	// This parameter has been deprecated.
	TaskID *string `json:"TaskID,omitnil,omitempty" name:"TaskID"`
}

Predefined struct for user

type ListBlackEmailAddressResponse

type ListBlackEmailAddressResponse struct {
	*tchttp.BaseResponse
	Response *ListBlackEmailAddressResponseParams `json:"Response"`
}

func NewListBlackEmailAddressResponse

func NewListBlackEmailAddressResponse() (response *ListBlackEmailAddressResponse)

func (*ListBlackEmailAddressResponse) FromJsonString

func (r *ListBlackEmailAddressResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListBlackEmailAddressResponse) ToJsonString

func (r *ListBlackEmailAddressResponse) ToJsonString() string

type ListBlackEmailAddressResponseParams

type ListBlackEmailAddressResponseParams struct {
	// List of blocklisted addresses.
	BlackList []*BlackEmailAddress `json:"BlackList,omitnil,omitempty" name:"BlackList"`

	// Total number of blocklisted addresses.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListCustomBlacklistRequest

type ListCustomBlacklistRequest struct {
	*tchttp.BaseRequest

	// Offset, int, starts from 0.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number limit, int, no more than 100.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Filter the state of the blocklist. valid values: 0 (expired), 1 (active), 2 (all).
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Email address in blocklist.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`
}

func NewListCustomBlacklistRequest

func NewListCustomBlacklistRequest() (request *ListCustomBlacklistRequest)

func (*ListCustomBlacklistRequest) FromJsonString

func (r *ListCustomBlacklistRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListCustomBlacklistRequest) ToJsonString

func (r *ListCustomBlacklistRequest) ToJsonString() string

type ListCustomBlacklistRequestParams

type ListCustomBlacklistRequestParams struct {
	// Offset, int, starts from 0.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number limit, int, no more than 100.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Filter the state of the blocklist. valid values: 0 (expired), 1 (active), 2 (all).
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Email address in blocklist.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`
}

Predefined struct for user

type ListCustomBlacklistResponse

type ListCustomBlacklistResponse struct {
	*tchttp.BaseResponse
	Response *ListCustomBlacklistResponseParams `json:"Response"`
}

func NewListCustomBlacklistResponse

func NewListCustomBlacklistResponse() (response *ListCustomBlacklistResponse)

func (*ListCustomBlacklistResponse) FromJsonString

func (r *ListCustomBlacklistResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListCustomBlacklistResponse) ToJsonString

func (r *ListCustomBlacklistResponse) ToJsonString() string

type ListCustomBlacklistResponseParams

type ListCustomBlacklistResponseParams struct {
	// Total Quantity of Lists
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Blocklist description.
	Data []*BlackAddressDetail `json:"Data,omitnil,omitempty" name:"Data"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListEmailAddressRequest

type ListEmailAddressRequest struct {
	*tchttp.BaseRequest
}

func NewListEmailAddressRequest

func NewListEmailAddressRequest() (request *ListEmailAddressRequest)

func (*ListEmailAddressRequest) FromJsonString

func (r *ListEmailAddressRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListEmailAddressRequest) ToJsonString

func (r *ListEmailAddressRequest) ToJsonString() string

type ListEmailAddressRequestParams

type ListEmailAddressRequestParams struct {
}

Predefined struct for user

type ListEmailAddressResponse

type ListEmailAddressResponse struct {
	*tchttp.BaseResponse
	Response *ListEmailAddressResponseParams `json:"Response"`
}

func NewListEmailAddressResponse

func NewListEmailAddressResponse() (response *ListEmailAddressResponse)

func (*ListEmailAddressResponse) FromJsonString

func (r *ListEmailAddressResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListEmailAddressResponse) ToJsonString

func (r *ListEmailAddressResponse) ToJsonString() string

type ListEmailAddressResponseParams

type ListEmailAddressResponseParams struct {
	// List of sender addresses description.
	EmailSenders []*EmailSender `json:"EmailSenders,omitnil,omitempty" name:"EmailSenders"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListEmailIdentitiesRequest

type ListEmailIdentitiesRequest struct {
	*tchttp.BaseRequest

	// tag.
	TagList []*TagList `json:"TagList,omitnil,omitempty" name:"TagList"`

	// Pagination limit.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Paging offset.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewListEmailIdentitiesRequest

func NewListEmailIdentitiesRequest() (request *ListEmailIdentitiesRequest)

func (*ListEmailIdentitiesRequest) FromJsonString

func (r *ListEmailIdentitiesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListEmailIdentitiesRequest) ToJsonString

func (r *ListEmailIdentitiesRequest) ToJsonString() string

type ListEmailIdentitiesRequestParams

type ListEmailIdentitiesRequestParams struct {
	// tag.
	TagList []*TagList `json:"TagList,omitnil,omitempty" name:"TagList"`

	// Pagination limit.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Paging offset.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type ListEmailIdentitiesResponse

type ListEmailIdentitiesResponse struct {
	*tchttp.BaseResponse
	Response *ListEmailIdentitiesResponseParams `json:"Response"`
}

func NewListEmailIdentitiesResponse

func NewListEmailIdentitiesResponse() (response *ListEmailIdentitiesResponse)

func (*ListEmailIdentitiesResponse) FromJsonString

func (r *ListEmailIdentitiesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListEmailIdentitiesResponse) ToJsonString

func (r *ListEmailIdentitiesResponse) ToJsonString() string

type ListEmailIdentitiesResponseParams

type ListEmailIdentitiesResponseParams struct {
	// List of sender domains.
	EmailIdentities []*EmailIdentity `json:"EmailIdentities,omitnil,omitempty" name:"EmailIdentities"`

	// Maximum reputation level
	MaxReputationLevel *uint64 `json:"MaxReputationLevel,omitnil,omitempty" name:"MaxReputationLevel"`

	// Maximum number of emails sent per domain name
	MaxDailyQuota *uint64 `json:"MaxDailyQuota,omitnil,omitempty" name:"MaxDailyQuota"`

	// Total number.
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListEmailTemplatesRequest

type ListEmailTemplatesRequest struct {
	*tchttp.BaseRequest

	// Number of templates to get. This parameter is used for pagination.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Template offset to get. This parameter is used for pagination.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewListEmailTemplatesRequest

func NewListEmailTemplatesRequest() (request *ListEmailTemplatesRequest)

func (*ListEmailTemplatesRequest) FromJsonString

func (r *ListEmailTemplatesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListEmailTemplatesRequest) ToJsonString

func (r *ListEmailTemplatesRequest) ToJsonString() string

type ListEmailTemplatesRequestParams

type ListEmailTemplatesRequestParams struct {
	// Number of templates to get. This parameter is used for pagination.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Template offset to get. This parameter is used for pagination.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type ListEmailTemplatesResponse

type ListEmailTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *ListEmailTemplatesResponseParams `json:"Response"`
}

func NewListEmailTemplatesResponse

func NewListEmailTemplatesResponse() (response *ListEmailTemplatesResponse)

func (*ListEmailTemplatesResponse) FromJsonString

func (r *ListEmailTemplatesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListEmailTemplatesResponse) ToJsonString

func (r *ListEmailTemplatesResponse) ToJsonString() string

type ListEmailTemplatesResponseParams

type ListEmailTemplatesResponseParams struct {
	// List of email templates.
	TemplatesMetadata []*TemplatesMetadata `json:"TemplatesMetadata,omitnil,omitempty" name:"TemplatesMetadata"`

	// Total number of templates
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListReceiverDetailsRequest

type ListReceiverDetailsRequest struct {
	*tchttp.BaseRequest

	// Recipient list ID. specifies the value returned during API creation of a recipient list via the CreateReceiver api.
	ReceiverId *uint64 `json:"ReceiverId,omitnil,omitempty" name:"ReceiverId"`

	// Offset, int, starts from 0.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number limit, int, no more than 100.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Recipient address. length: 0-50. example: xxx@te.com. fuzzy query is supported.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// Find start time.
	CreateTimeBegin *string `json:"CreateTimeBegin,omitnil,omitempty" name:"CreateTimeBegin"`

	// Search end time.
	CreateTimeEnd *string `json:"CreateTimeEnd,omitnil,omitempty" name:"CreateTimeEnd"`

	// 1: valid; 2: invalid.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
}

func NewListReceiverDetailsRequest

func NewListReceiverDetailsRequest() (request *ListReceiverDetailsRequest)

func (*ListReceiverDetailsRequest) FromJsonString

func (r *ListReceiverDetailsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListReceiverDetailsRequest) ToJsonString

func (r *ListReceiverDetailsRequest) ToJsonString() string

type ListReceiverDetailsRequestParams

type ListReceiverDetailsRequestParams struct {
	// Recipient list ID. specifies the value returned during API creation of a recipient list via the CreateReceiver api.
	ReceiverId *uint64 `json:"ReceiverId,omitnil,omitempty" name:"ReceiverId"`

	// Offset, int, starts from 0.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number limit, int, no more than 100.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Recipient address. length: 0-50. example: xxx@te.com. fuzzy query is supported.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// Find start time.
	CreateTimeBegin *string `json:"CreateTimeBegin,omitnil,omitempty" name:"CreateTimeBegin"`

	// Search end time.
	CreateTimeEnd *string `json:"CreateTimeEnd,omitnil,omitempty" name:"CreateTimeEnd"`

	// 1: valid; 2: invalid.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
}

Predefined struct for user

type ListReceiverDetailsResponse

type ListReceiverDetailsResponse struct {
	*tchttp.BaseResponse
	Response *ListReceiverDetailsResponseParams `json:"Response"`
}

func NewListReceiverDetailsResponse

func NewListReceiverDetailsResponse() (response *ListReceiverDetailsResponse)

func (*ListReceiverDetailsResponse) FromJsonString

func (r *ListReceiverDetailsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListReceiverDetailsResponse) ToJsonString

func (r *ListReceiverDetailsResponse) ToJsonString() string

type ListReceiverDetailsResponseParams

type ListReceiverDetailsResponseParams struct {
	// Total number.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Data record.
	Data []*ReceiverDetail `json:"Data,omitnil,omitempty" name:"Data"`

	// Number of valid email addresses.
	ValidCount *uint64 `json:"ValidCount,omitnil,omitempty" name:"ValidCount"`

	// Number of invalid email addresses.
	InvalidCount *uint64 `json:"InvalidCount,omitnil,omitempty" name:"InvalidCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListReceiversRequest

type ListReceiversRequest struct {
	*tchttp.BaseRequest

	// Offset, starting from 0. The value is an integer.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of records to query. The value is an integer not exceeding 100.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Group status (`1`: to be uploaded; `2` uploading; `3` uploaded). To query groups in all states, do not pass in this parameter.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Group name keyword for fuzzy query
	KeyWord *string `json:"KeyWord,omitnil,omitempty" name:"KeyWord"`
}

func NewListReceiversRequest

func NewListReceiversRequest() (request *ListReceiversRequest)

func (*ListReceiversRequest) FromJsonString

func (r *ListReceiversRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListReceiversRequest) ToJsonString

func (r *ListReceiversRequest) ToJsonString() string

type ListReceiversRequestParams

type ListReceiversRequestParams struct {
	// Offset, starting from 0. The value is an integer.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of records to query. The value is an integer not exceeding 100.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Group status (`1`: to be uploaded; `2` uploading; `3` uploaded). To query groups in all states, do not pass in this parameter.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Group name keyword for fuzzy query
	KeyWord *string `json:"KeyWord,omitnil,omitempty" name:"KeyWord"`
}

Predefined struct for user

type ListReceiversResponse

type ListReceiversResponse struct {
	*tchttp.BaseResponse
	Response *ListReceiversResponseParams `json:"Response"`
}

func NewListReceiversResponse

func NewListReceiversResponse() (response *ListReceiversResponse)

func (*ListReceiversResponse) FromJsonString

func (r *ListReceiversResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListReceiversResponse) ToJsonString

func (r *ListReceiversResponse) ToJsonString() string

type ListReceiversResponseParams

type ListReceiversResponseParams struct {
	// Total number
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Data record
	Data []*ReceiverData `json:"Data,omitnil,omitempty" name:"Data"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListSendTasksRequest

type ListSendTasksRequest struct {
	*tchttp.BaseRequest

	// Offset, starting from 0. The value is an integer. `0` means to skip 0 entries.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of records to query. The value is an integer not exceeding 100.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Task status. `1`: to start; `5`: sending; `6`: sending suspended today; `7`: sending error; `10`: sent. To query tasks in all states, do not pass in this parameter.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Recipient group ID
	ReceiverId *uint64 `json:"ReceiverId,omitnil,omitempty" name:"ReceiverId"`

	// Task type. `1`: immediate; `2`: scheduled; `3`: recurring. To query tasks of all types, do not pass in this parameter.
	TaskType *uint64 `json:"TaskType,omitnil,omitempty" name:"TaskType"`
}

func NewListSendTasksRequest

func NewListSendTasksRequest() (request *ListSendTasksRequest)

func (*ListSendTasksRequest) FromJsonString

func (r *ListSendTasksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListSendTasksRequest) ToJsonString

func (r *ListSendTasksRequest) ToJsonString() string

type ListSendTasksRequestParams

type ListSendTasksRequestParams struct {
	// Offset, starting from 0. The value is an integer. `0` means to skip 0 entries.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of records to query. The value is an integer not exceeding 100.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Task status. `1`: to start; `5`: sending; `6`: sending suspended today; `7`: sending error; `10`: sent. To query tasks in all states, do not pass in this parameter.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Recipient group ID
	ReceiverId *uint64 `json:"ReceiverId,omitnil,omitempty" name:"ReceiverId"`

	// Task type. `1`: immediate; `2`: scheduled; `3`: recurring. To query tasks of all types, do not pass in this parameter.
	TaskType *uint64 `json:"TaskType,omitnil,omitempty" name:"TaskType"`
}

Predefined struct for user

type ListSendTasksResponse

type ListSendTasksResponse struct {
	*tchttp.BaseResponse
	Response *ListSendTasksResponseParams `json:"Response"`
}

func NewListSendTasksResponse

func NewListSendTasksResponse() (response *ListSendTasksResponse)

func (*ListSendTasksResponse) FromJsonString

func (r *ListSendTasksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListSendTasksResponse) ToJsonString

func (r *ListSendTasksResponse) ToJsonString() string

type ListSendTasksResponseParams

type ListSendTasksResponseParams struct {
	// Total number
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Data record
	Data []*SendTaskData `json:"Data,omitnil,omitempty" name:"Data"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ReceiverData

type ReceiverData struct {
	// Recipient group ID
	ReceiverId *uint64 `json:"ReceiverId,omitnil,omitempty" name:"ReceiverId"`

	// Recipient group name
	ReceiversName *string `json:"ReceiversName,omitnil,omitempty" name:"ReceiversName"`

	// Total number of recipient email addresses
	Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"`

	// Recipient list description.
	Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"`

	// List status (1 to be uploaded 2 uploading 3 upload complete).
	ReceiversStatus *uint64 `json:"ReceiversStatus,omitnil,omitempty" name:"ReceiversStatus"`

	// Creation time, such as 2021-09-28 16:40:35
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Invalid number of recipients.
	InvalidCount *uint64 `json:"InvalidCount,omitnil,omitempty" name:"InvalidCount"`
}

type ReceiverDetail

type ReceiverDetail struct {
	// Recipient's address.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// Creation time.
	//
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Template parameter.
	TemplateData *string `json:"TemplateData,omitnil,omitempty" name:"TemplateData"`

	// Invalid reason.
	Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"`

	// 1: valid; 2: invalid.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Recipient address id.
	EmailId *uint64 `json:"EmailId,omitnil,omitempty" name:"EmailId"`
}

type ReceiverInputData

type ReceiverInputData struct {
	// Recipient email.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// For variable parameters in template, please use json.dump to format the json object into string type. the object is a set of Key-value pairs. each Key represents a variable in template. variable usage in template is represented by {{Key}}. the appropriate value will be replaced with {{value}} when sent.
	// Note: the parameter value cannot be data of complex type such as html. the entire JSON structure of TemplateData has a length limit of 800 bytes.
	TemplateData *string `json:"TemplateData,omitnil,omitempty" name:"TemplateData"`
}

type SendEmailRequest

type SendEmailRequest struct {
	*tchttp.BaseRequest

	// Sender'S email address. when not using an alias, enter the sender's email address directly, for example: noreply@mail.qcloud.com. to enter a sender alias, follow this format (note that a space must separate the alias and email address): alias+space+<email address>. the alias cannot contain a colon (:).
	FromEmailAddress *string `json:"FromEmailAddress,omitnil,omitempty" name:"FromEmailAddress"`

	// Email subject.
	Subject *string `json:"Subject,omitnil,omitempty" name:"Subject"`

	// Recipient email address, supports up to 50 recipients for mass sending. note: the email content will display all recipient addresses. for non-mass sending, call the API multiple times to send.
	// Specifies that at least one of the Destination, Cc, or Bcc parameters must exist.
	Destination []*string `json:"Destination,omitnil,omitempty" name:"Destination"`

	// The "reply" email address of the mail. can be filled with an email address where you can receive mail, which can be a personal mailbox. if left empty, the recipient's reply mail will fail to send.
	ReplyToAddresses *string `json:"ReplyToAddresses,omitnil,omitempty" name:"ReplyToAddresses"`

	// Cc recipient email address, supports up to 20 carbon copies.
	Cc []*string `json:"Cc,omitnil,omitempty" name:"Cc"`

	// Bcc email address, supports up to 20 carbon copies. Bcc and Destination must be unique.
	Bcc []*string `json:"Bcc,omitnil,omitempty" name:"Bcc"`

	// Use template for sending and fill in related parameters.
	// <dx-alert infotype="notice" title="note">this field must be specified if you have not applied for special configuration.</dx-alert>.
	Template *Template `json:"Template,omitnil,omitempty" name:"Template"`

	// This parameter has been deprecated.
	// <dx-alert infotype="notice" title="description"> only customers who have applied for special configuration in the past need to use this. if you have not applied for special configuration, this field does not exist.</dx-alert>.
	Simple *Simple `json:"Simple,omitnil,omitempty" name:"Simple"`

	// When sending an attachment, fill in the related parameters. the tencent cloud API request supports a maximum of 8M request packet. the attachment content transits Base64 and is expected to expand by 1.5 times. you should control the total size of all attachments within 4M. the API will return an error if the overall request exceeds 8M.
	Attachments []*Attachment `json:"Attachments,omitnil,omitempty" name:"Attachments"`

	// Unsubscription link options 0: do not add unsubscription link 1: english 2: simplified chinese 3: traditional chinese 4: spanish 5: french 6: german 7: japanese 8: korean 9: arabic 10: thai.
	Unsubscribe *string `json:"Unsubscribe,omitnil,omitempty" name:"Unsubscribe"`

	// Mail trigger type. 0: non-trigger class, default type, select this type for marketing emails and non-instant emails. 1: trigger class, instant delivery emails such as captcha-intl. if the mail exceeds a certain size, the system will automatically select the non-trigger class channel.
	TriggerType *uint64 `json:"TriggerType,omitnil,omitempty" name:"TriggerType"`

	// Message-Id field in the smtp header.
	SmtpMessageId *string `json:"SmtpMessageId,omitnil,omitempty" name:"SmtpMessageId"`

	// Other fields that can be set in the smtp header.
	SmtpHeaders *string `json:"SmtpHeaders,omitnil,omitempty" name:"SmtpHeaders"`

	// from field in the smtp header. the domain name should be consistent with FromEmailAddress.
	HeaderFrom *string `json:"HeaderFrom,omitnil,omitempty" name:"HeaderFrom"`
}

func NewSendEmailRequest

func NewSendEmailRequest() (request *SendEmailRequest)

func (*SendEmailRequest) FromJsonString

func (r *SendEmailRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SendEmailRequest) ToJsonString

func (r *SendEmailRequest) ToJsonString() string

type SendEmailRequestParams

type SendEmailRequestParams struct {
	// Sender'S email address. when not using an alias, enter the sender's email address directly, for example: noreply@mail.qcloud.com. to enter a sender alias, follow this format (note that a space must separate the alias and email address): alias+space+<email address>. the alias cannot contain a colon (:).
	FromEmailAddress *string `json:"FromEmailAddress,omitnil,omitempty" name:"FromEmailAddress"`

	// Email subject.
	Subject *string `json:"Subject,omitnil,omitempty" name:"Subject"`

	// Recipient email address, supports up to 50 recipients for mass sending. note: the email content will display all recipient addresses. for non-mass sending, call the API multiple times to send.
	// Specifies that at least one of the Destination, Cc, or Bcc parameters must exist.
	Destination []*string `json:"Destination,omitnil,omitempty" name:"Destination"`

	// The "reply" email address of the mail. can be filled with an email address where you can receive mail, which can be a personal mailbox. if left empty, the recipient's reply mail will fail to send.
	ReplyToAddresses *string `json:"ReplyToAddresses,omitnil,omitempty" name:"ReplyToAddresses"`

	// Cc recipient email address, supports up to 20 carbon copies.
	Cc []*string `json:"Cc,omitnil,omitempty" name:"Cc"`

	// Bcc email address, supports up to 20 carbon copies. Bcc and Destination must be unique.
	Bcc []*string `json:"Bcc,omitnil,omitempty" name:"Bcc"`

	// Use template for sending and fill in related parameters.
	// <dx-alert infotype="notice" title="note">this field must be specified if you have not applied for special configuration.</dx-alert>.
	Template *Template `json:"Template,omitnil,omitempty" name:"Template"`

	// This parameter has been deprecated.
	// <dx-alert infotype="notice" title="description"> only customers who have applied for special configuration in the past need to use this. if you have not applied for special configuration, this field does not exist.</dx-alert>.
	Simple *Simple `json:"Simple,omitnil,omitempty" name:"Simple"`

	// When sending an attachment, fill in the related parameters. the tencent cloud API request supports a maximum of 8M request packet. the attachment content transits Base64 and is expected to expand by 1.5 times. you should control the total size of all attachments within 4M. the API will return an error if the overall request exceeds 8M.
	Attachments []*Attachment `json:"Attachments,omitnil,omitempty" name:"Attachments"`

	// Unsubscription link options 0: do not add unsubscription link 1: english 2: simplified chinese 3: traditional chinese 4: spanish 5: french 6: german 7: japanese 8: korean 9: arabic 10: thai.
	Unsubscribe *string `json:"Unsubscribe,omitnil,omitempty" name:"Unsubscribe"`

	// Mail trigger type. 0: non-trigger class, default type, select this type for marketing emails and non-instant emails. 1: trigger class, instant delivery emails such as captcha-intl. if the mail exceeds a certain size, the system will automatically select the non-trigger class channel.
	TriggerType *uint64 `json:"TriggerType,omitnil,omitempty" name:"TriggerType"`

	// Message-Id field in the smtp header.
	SmtpMessageId *string `json:"SmtpMessageId,omitnil,omitempty" name:"SmtpMessageId"`

	// Other fields that can be set in the smtp header.
	SmtpHeaders *string `json:"SmtpHeaders,omitnil,omitempty" name:"SmtpHeaders"`

	// from field in the smtp header. the domain name should be consistent with FromEmailAddress.
	HeaderFrom *string `json:"HeaderFrom,omitnil,omitempty" name:"HeaderFrom"`
}

Predefined struct for user

type SendEmailResponse

type SendEmailResponse struct {
	*tchttp.BaseResponse
	Response *SendEmailResponseParams `json:"Response"`
}

func NewSendEmailResponse

func NewSendEmailResponse() (response *SendEmailResponse)

func (*SendEmailResponse) FromJsonString

func (r *SendEmailResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SendEmailResponse) ToJsonString

func (r *SendEmailResponse) ToJsonString() string

type SendEmailResponseParams

type SendEmailResponseParams struct {
	// Uniquely generated message identifier for receive message.
	MessageId *string `json:"MessageId,omitnil,omitempty" name:"MessageId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SendEmailStatus

type SendEmailStatus struct {
	// The `MessageId` field returned by the `SendEmail` API
	MessageId *string `json:"MessageId,omitnil,omitempty" name:"MessageId"`

	// Recipient email address
	ToEmailAddress *string `json:"ToEmailAddress,omitnil,omitempty" name:"ToEmailAddress"`

	// Sender email address
	FromEmailAddress *string `json:"FromEmailAddress,omitnil,omitempty" name:"FromEmailAddress"`

	// 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.
	SendStatus *int64 `json:"SendStatus,omitnil,omitempty" name:"SendStatus"`

	// Recipient processing status
	// 0: 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.
	DeliverStatus *int64 `json:"DeliverStatus,omitnil,omitempty" name:"DeliverStatus"`

	// Description of the recipient processing status
	DeliverMessage *string `json:"DeliverMessage,omitnil,omitempty" name:"DeliverMessage"`

	// Timestamp when the request arrives at Tencent Cloud
	RequestTime *int64 `json:"RequestTime,omitnil,omitempty" name:"RequestTime"`

	// Timestamp when Tencent Cloud delivers the email
	DeliverTime *int64 `json:"DeliverTime,omitnil,omitempty" name:"DeliverTime"`

	// Whether the recipient has opened the email
	UserOpened *bool `json:"UserOpened,omitnil,omitempty" name:"UserOpened"`

	// Whether the recipient has clicked the links in the email
	UserClicked *bool `json:"UserClicked,omitnil,omitempty" name:"UserClicked"`

	// Whether the recipient has unsubscribed from the email sent by the sender
	UserUnsubscribed *bool `json:"UserUnsubscribed,omitnil,omitempty" name:"UserUnsubscribed"`

	// Whether the recipient has reported the sender
	//
	// Deprecated: UserComplainted is deprecated.
	UserComplainted *bool `json:"UserComplainted,omitnil,omitempty" name:"UserComplainted"`

	// Whether the user reports the sender.
	UserComplained *bool `json:"UserComplained,omitnil,omitempty" name:"UserComplained"`
}

type SendTaskData

type SendTaskData struct {
	// Task ID
	TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Sender address
	FromEmailAddress *string `json:"FromEmailAddress,omitnil,omitempty" name:"FromEmailAddress"`

	// Recipient group ID
	ReceiverId *uint64 `json:"ReceiverId,omitnil,omitempty" name:"ReceiverId"`

	// Task status. `1`: to start; `5`: sending; `6`: sending suspended today; `7`: sending error; `10`: sent
	TaskStatus *uint64 `json:"TaskStatus,omitnil,omitempty" name:"TaskStatus"`

	// Task type. `1`: immediate; `2`: scheduled; `3`: recurring
	TaskType *uint64 `json:"TaskType,omitnil,omitempty" name:"TaskType"`

	// Number of emails requested to be sent
	RequestCount *uint64 `json:"RequestCount,omitnil,omitempty" name:"RequestCount"`

	// Number of emails sent
	SendCount *uint64 `json:"SendCount,omitnil,omitempty" name:"SendCount"`

	// Number of emails cached
	CacheCount *uint64 `json:"CacheCount,omitnil,omitempty" name:"CacheCount"`

	// Task creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Task update time
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// Email subject
	Subject *string `json:"Subject,omitnil,omitempty" name:"Subject"`

	// Template and template data.
	Template *Template `json:"Template,omitnil,omitempty" name:"Template"`

	// Parameters of a recurring task
	// Note: This field may return `null`, indicating that no valid value can be found.
	CycleParam *CycleEmailParam `json:"CycleParam,omitnil,omitempty" name:"CycleParam"`

	// Parameters of a scheduled task
	// Note: This field may return `null`, indicating that no valid value can be found.
	TimedParam *TimedEmailParam `json:"TimedParam,omitnil,omitempty" name:"TimedParam"`

	// Task exception information.
	ErrMsg *string `json:"ErrMsg,omitnil,omitempty" name:"ErrMsg"`

	// Recipient group name
	ReceiversName *string `json:"ReceiversName,omitnil,omitempty" name:"ReceiversName"`
}

type Simple

type Simple struct {
	// HTML code after base64 encoding. To ensure correct display, this parameter should include all code information and cannot contain external CSS.
	Html *string `json:"Html,omitnil,omitempty" name:"Html"`

	// Plain text content after base64 encoding. If HTML is not involved, the plain text will be displayed in the email. Otherwise, this parameter represents the plain text style of the email.
	Text *string `json:"Text,omitnil,omitempty" name:"Text"`
}

type TagList

type TagList struct {
	// Product.
	TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"`

	// ses
	TagValue *string `json:"TagValue,omitnil,omitempty" name:"TagValue"`
}

type Template

type Template struct {
	// Template ID. If you don’t have any template, please create one.
	TemplateID *uint64 `json:"TemplateID,omitnil,omitempty" name:"TemplateID"`

	// Variable parameters in the template. Please use `json.dump` to format the JSON object into a string type. The object is a set of key-value pairs. Each key denotes a variable, which is represented by {{key}}. The key will be replaced with the corresponding value (represented by {{value}}) when sending the email.
	// Note: The parameter value cannot be data of a complex type such as HTML.
	// Example: {"name":"xxx","age":"xx"}
	TemplateData *string `json:"TemplateData,omitnil,omitempty" name:"TemplateData"`
}

type TemplateContent

type TemplateContent struct {
	// HTML code after base64 encoding.
	Html *string `json:"Html,omitnil,omitempty" name:"Html"`

	// Text content after base64 encoding.
	Text *string `json:"Text,omitnil,omitempty" name:"Text"`
}

type TemplatesMetadata

type TemplatesMetadata struct {
	// Creation time.
	CreatedTimestamp *uint64 `json:"CreatedTimestamp,omitnil,omitempty" name:"CreatedTimestamp"`

	// Template name.
	TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"`

	// Template status. 1: under review; 0: approved; 2: rejected; other values: unavailable.
	TemplateStatus *int64 `json:"TemplateStatus,omitnil,omitempty" name:"TemplateStatus"`

	// Template ID.
	TemplateID *uint64 `json:"TemplateID,omitnil,omitempty" name:"TemplateID"`

	// Review reply
	ReviewReason *string `json:"ReviewReason,omitnil,omitempty" name:"ReviewReason"`
}

type TimedEmailParam

type TimedEmailParam struct {
	// Start time of a scheduled sending task
	BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`
}

type UpdateAddressUnsubscribeConfigRequest

type UpdateAddressUnsubscribeConfigRequest struct {
	*tchttp.BaseRequest

	// Sender address.
	Address *string `json:"Address,omitnil,omitempty" name:"Address"`

	// Unsubscribe link option. 0: Do not add unsubscribe link; 1: English 2: Simplified Chinese; 3: Traditional Chinese; 4: Spanish; 5: French; 6: German; 7: Japanese; 8: Korean; 9: Arabic; 10: Thai
	UnsubscribeConfig *string `json:"UnsubscribeConfig,omitnil,omitempty" name:"UnsubscribeConfig"`

	// 0: disable; 1: enable.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
}

func NewUpdateAddressUnsubscribeConfigRequest

func NewUpdateAddressUnsubscribeConfigRequest() (request *UpdateAddressUnsubscribeConfigRequest)

func (*UpdateAddressUnsubscribeConfigRequest) FromJsonString

func (r *UpdateAddressUnsubscribeConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateAddressUnsubscribeConfigRequest) ToJsonString

type UpdateAddressUnsubscribeConfigRequestParams

type UpdateAddressUnsubscribeConfigRequestParams struct {
	// Sender address.
	Address *string `json:"Address,omitnil,omitempty" name:"Address"`

	// Unsubscribe link option. 0: Do not add unsubscribe link; 1: English 2: Simplified Chinese; 3: Traditional Chinese; 4: Spanish; 5: French; 6: German; 7: Japanese; 8: Korean; 9: Arabic; 10: Thai
	UnsubscribeConfig *string `json:"UnsubscribeConfig,omitnil,omitempty" name:"UnsubscribeConfig"`

	// 0: disable; 1: enable.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
}

Predefined struct for user

type UpdateAddressUnsubscribeConfigResponse

type UpdateAddressUnsubscribeConfigResponse struct {
	*tchttp.BaseResponse
	Response *UpdateAddressUnsubscribeConfigResponseParams `json:"Response"`
}

func NewUpdateAddressUnsubscribeConfigResponse

func NewUpdateAddressUnsubscribeConfigResponse() (response *UpdateAddressUnsubscribeConfigResponse)

func (*UpdateAddressUnsubscribeConfigResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateAddressUnsubscribeConfigResponse) ToJsonString

type UpdateAddressUnsubscribeConfigResponseParams

type UpdateAddressUnsubscribeConfigResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateCustomBlackListRequest

type UpdateCustomBlackListRequest struct {
	*tchttp.BaseRequest

	// Blocklist id that needs to change.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// After modification email address.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// Expiration time. if left empty, it indicates permanent validity.
	ExpireDate *string `json:"ExpireDate,omitnil,omitempty" name:"ExpireDate"`
}

func NewUpdateCustomBlackListRequest

func NewUpdateCustomBlackListRequest() (request *UpdateCustomBlackListRequest)

func (*UpdateCustomBlackListRequest) FromJsonString

func (r *UpdateCustomBlackListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateCustomBlackListRequest) ToJsonString

func (r *UpdateCustomBlackListRequest) ToJsonString() string

type UpdateCustomBlackListRequestParams

type UpdateCustomBlackListRequestParams struct {
	// Blocklist id that needs to change.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// After modification email address.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// Expiration time. if left empty, it indicates permanent validity.
	ExpireDate *string `json:"ExpireDate,omitnil,omitempty" name:"ExpireDate"`
}

Predefined struct for user

type UpdateCustomBlackListResponse

type UpdateCustomBlackListResponse struct {
	*tchttp.BaseResponse
	Response *UpdateCustomBlackListResponseParams `json:"Response"`
}

func NewUpdateCustomBlackListResponse

func NewUpdateCustomBlackListResponse() (response *UpdateCustomBlackListResponse)

func (*UpdateCustomBlackListResponse) FromJsonString

func (r *UpdateCustomBlackListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateCustomBlackListResponse) ToJsonString

func (r *UpdateCustomBlackListResponse) ToJsonString() string

type UpdateCustomBlackListResponseParams

type UpdateCustomBlackListResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateEmailIdentityRequest

type UpdateEmailIdentityRequest struct {
	*tchttp.BaseRequest

	// Domain to be verified.
	EmailIdentity *string `json:"EmailIdentity,omitnil,omitempty" name:"EmailIdentity"`
}

func NewUpdateEmailIdentityRequest

func NewUpdateEmailIdentityRequest() (request *UpdateEmailIdentityRequest)

func (*UpdateEmailIdentityRequest) FromJsonString

func (r *UpdateEmailIdentityRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateEmailIdentityRequest) ToJsonString

func (r *UpdateEmailIdentityRequest) ToJsonString() string

type UpdateEmailIdentityRequestParams

type UpdateEmailIdentityRequestParams struct {
	// Domain to be verified.
	EmailIdentity *string `json:"EmailIdentity,omitnil,omitempty" name:"EmailIdentity"`
}

Predefined struct for user

type UpdateEmailIdentityResponse

type UpdateEmailIdentityResponse struct {
	*tchttp.BaseResponse
	Response *UpdateEmailIdentityResponseParams `json:"Response"`
}

func NewUpdateEmailIdentityResponse

func NewUpdateEmailIdentityResponse() (response *UpdateEmailIdentityResponse)

func (*UpdateEmailIdentityResponse) FromJsonString

func (r *UpdateEmailIdentityResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateEmailIdentityResponse) ToJsonString

func (r *UpdateEmailIdentityResponse) ToJsonString() string

type UpdateEmailIdentityResponseParams

type UpdateEmailIdentityResponseParams struct {
	// Verification type. The value is fixed to `DOMAIN`.
	IdentityType *string `json:"IdentityType,omitnil,omitempty" name:"IdentityType"`

	// Verification passed or not.
	VerifiedForSendingStatus *bool `json:"VerifiedForSendingStatus,omitnil,omitempty" name:"VerifiedForSendingStatus"`

	// DNS information that needs to be configured.
	Attributes []*DNSAttributes `json:"Attributes,omitnil,omitempty" name:"Attributes"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateEmailSmtpPassWordRequest

type UpdateEmailSmtpPassWordRequest struct {
	*tchttp.BaseRequest

	// SMTP password. Length limit: 64.
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// Email address. Length limit: 128.
	EmailAddress *string `json:"EmailAddress,omitnil,omitempty" name:"EmailAddress"`
}

func NewUpdateEmailSmtpPassWordRequest

func NewUpdateEmailSmtpPassWordRequest() (request *UpdateEmailSmtpPassWordRequest)

func (*UpdateEmailSmtpPassWordRequest) FromJsonString

func (r *UpdateEmailSmtpPassWordRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateEmailSmtpPassWordRequest) ToJsonString

func (r *UpdateEmailSmtpPassWordRequest) ToJsonString() string

type UpdateEmailSmtpPassWordRequestParams

type UpdateEmailSmtpPassWordRequestParams struct {
	// SMTP password. Length limit: 64.
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// Email address. Length limit: 128.
	EmailAddress *string `json:"EmailAddress,omitnil,omitempty" name:"EmailAddress"`
}

Predefined struct for user

type UpdateEmailSmtpPassWordResponse

type UpdateEmailSmtpPassWordResponse struct {
	*tchttp.BaseResponse
	Response *UpdateEmailSmtpPassWordResponseParams `json:"Response"`
}

func NewUpdateEmailSmtpPassWordResponse

func NewUpdateEmailSmtpPassWordResponse() (response *UpdateEmailSmtpPassWordResponse)

func (*UpdateEmailSmtpPassWordResponse) FromJsonString

func (r *UpdateEmailSmtpPassWordResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateEmailSmtpPassWordResponse) ToJsonString

func (r *UpdateEmailSmtpPassWordResponse) ToJsonString() string

type UpdateEmailSmtpPassWordResponseParams

type UpdateEmailSmtpPassWordResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateEmailTemplateRequest

type UpdateEmailTemplateRequest struct {
	*tchttp.BaseRequest

	// Template content.
	TemplateContent *TemplateContent `json:"TemplateContent,omitnil,omitempty" name:"TemplateContent"`

	// Template ID.
	TemplateID *uint64 `json:"TemplateID,omitnil,omitempty" name:"TemplateID"`

	// Template name
	TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"`
}

func NewUpdateEmailTemplateRequest

func NewUpdateEmailTemplateRequest() (request *UpdateEmailTemplateRequest)

func (*UpdateEmailTemplateRequest) FromJsonString

func (r *UpdateEmailTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateEmailTemplateRequest) ToJsonString

func (r *UpdateEmailTemplateRequest) ToJsonString() string

type UpdateEmailTemplateRequestParams

type UpdateEmailTemplateRequestParams struct {
	// Template content.
	TemplateContent *TemplateContent `json:"TemplateContent,omitnil,omitempty" name:"TemplateContent"`

	// Template ID.
	TemplateID *uint64 `json:"TemplateID,omitnil,omitempty" name:"TemplateID"`

	// Template name
	TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"`
}

Predefined struct for user

type UpdateEmailTemplateResponse

type UpdateEmailTemplateResponse struct {
	*tchttp.BaseResponse
	Response *UpdateEmailTemplateResponseParams `json:"Response"`
}

func NewUpdateEmailTemplateResponse

func NewUpdateEmailTemplateResponse() (response *UpdateEmailTemplateResponse)

func (*UpdateEmailTemplateResponse) FromJsonString

func (r *UpdateEmailTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateEmailTemplateResponse) ToJsonString

func (r *UpdateEmailTemplateResponse) ToJsonString() string

type UpdateEmailTemplateResponseParams

type UpdateEmailTemplateResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Volume

type Volume struct {
	// Date
	SendDate *string `json:"SendDate,omitnil,omitempty" name:"SendDate"`

	// Number of email requests.
	RequestCount *uint64 `json:"RequestCount,omitnil,omitempty" name:"RequestCount"`

	// Number of email requests accepted by Tencent Cloud.
	AcceptedCount *uint64 `json:"AcceptedCount,omitnil,omitempty" name:"AcceptedCount"`

	// Number of delivered emails.
	DeliveredCount *uint64 `json:"DeliveredCount,omitnil,omitempty" name:"DeliveredCount"`

	// Number of users (deduplicated) who opened emails.
	OpenedCount *uint64 `json:"OpenedCount,omitnil,omitempty" name:"OpenedCount"`

	// Number of recipients who clicked on links in emails.
	ClickedCount *uint64 `json:"ClickedCount,omitnil,omitempty" name:"ClickedCount"`

	// Number of bounced emails.
	BounceCount *uint64 `json:"BounceCount,omitnil,omitempty" name:"BounceCount"`

	// Number of users for unsubscription.
	UnsubscribeCount *uint64 `json:"UnsubscribeCount,omitnil,omitempty" name:"UnsubscribeCount"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL