public class SendEmailStatus extends AbstractModel
Constructor and Description |
---|
SendEmailStatus() |
SendEmailStatus(SendEmailStatus source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getDeliverMessage()
Get Description of the recipient processing status
|
Long |
getDeliverStatus()
Get Recipient processing status:
0: Tencent Cloud has accepted the request and added it to the send queue.
|
Long |
getDeliverTime()
Get Timestamp when Tencent Cloud delivers the email
|
String |
getFromEmailAddress()
Get Sender email address
|
String |
getMessageId()
Get `MessageId` field returned by the `SendEmail` API
|
Long |
getRequestTime()
Get Timestamp when the request arrives at Tencent Cloud
|
Long |
getSendStatus()
Get Tencent Cloud processing status:
0: successful.
|
String |
getToEmailAddress()
Get Recipient email address
|
Boolean |
getUserClicked()
Get Whether the recipient has clicked the links in the email
|
Boolean |
getUserComplainted()
Get Whether the recipient has reported the sender
|
Boolean |
getUserOpened()
Get Whether the recipient has opened the email
|
Boolean |
getUserUnsubscribed()
Get Whether the recipient has unsubscribed from emails sent by the sender
|
void |
setDeliverMessage(String DeliverMessage)
Set Description of the recipient processing status
|
void |
setDeliverStatus(Long DeliverStatus)
Set Recipient processing status:
0: Tencent Cloud has accepted the request and added it to the send queue.
|
void |
setDeliverTime(Long DeliverTime)
Set Timestamp when Tencent Cloud delivers the email
|
void |
setFromEmailAddress(String FromEmailAddress)
Set Sender email address
|
void |
setMessageId(String MessageId)
Set `MessageId` field returned by the `SendEmail` API
|
void |
setRequestTime(Long RequestTime)
Set Timestamp when the request arrives at Tencent Cloud
|
void |
setSendStatus(Long SendStatus)
Set Tencent Cloud processing status:
0: successful.
|
void |
setToEmailAddress(String ToEmailAddress)
Set Recipient email address
|
void |
setUserClicked(Boolean UserClicked)
Set Whether the recipient has clicked the links in the email
|
void |
setUserComplainted(Boolean UserComplainted)
Set Whether the recipient has reported the sender
|
void |
setUserOpened(Boolean UserOpened)
Set Whether the recipient has opened the email
|
void |
setUserUnsubscribed(Boolean UserUnsubscribed)
Set Whether the recipient has unsubscribed from emails sent by the sender
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public SendEmailStatus()
public SendEmailStatus(SendEmailStatus source)
public String getMessageId()
public void setMessageId(String MessageId)
MessageId
- `MessageId` field returned by the `SendEmail` APIpublic String getToEmailAddress()
public void setToEmailAddress(String ToEmailAddress)
ToEmailAddress
- Recipient email addresspublic String getFromEmailAddress()
public void setFromEmailAddress(String FromEmailAddress)
FromEmailAddress
- Sender email addresspublic Long getSendStatus()
public void setSendStatus(Long SendStatus)
SendStatus
- 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 timeout.
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.
1009: internal system exception.
1010: daily email sending limit exceeded.
1011: no permission to send custom content. Use a template.
2001: no results found.
3007: invalid template ID or unavailable template.
3008: template status exception.
3009: no permission to use this template.
3010: the format of the `TemplateData` field is incorrect.
3014: unable to send the email because the sender domain is not verified.
3020: the recipient email address is in the blocklist.
3024: failed to pre-check the email address format.
3030: email sending is restricted temporarily due to high bounce rate.
3033: the account has insufficient balance or overdue payment.public Long getDeliverStatus()
public void setDeliverStatus(Long DeliverStatus)
DeliverStatus
- 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.public String getDeliverMessage()
public void setDeliverMessage(String DeliverMessage)
DeliverMessage
- Description of the recipient processing statuspublic Long getRequestTime()
public void setRequestTime(Long RequestTime)
RequestTime
- Timestamp when the request arrives at Tencent Cloudpublic Long getDeliverTime()
public void setDeliverTime(Long DeliverTime)
DeliverTime
- Timestamp when Tencent Cloud delivers the emailpublic Boolean getUserOpened()
public void setUserOpened(Boolean UserOpened)
UserOpened
- Whether the recipient has opened the emailpublic Boolean getUserClicked()
public void setUserClicked(Boolean UserClicked)
UserClicked
- Whether the recipient has clicked the links in the emailpublic Boolean getUserUnsubscribed()
public void setUserUnsubscribed(Boolean UserUnsubscribed)
UserUnsubscribed
- Whether the recipient has unsubscribed from emails sent by the senderpublic Boolean getUserComplainted()
public void setUserComplainted(Boolean UserComplainted)
UserComplainted
- Whether the recipient has reported the senderCopyright © 2021. All rights reserved.