public class SendEmailRequest extends AbstractModel
| Constructor and Description | 
|---|
| SendEmailRequest() | 
| SendEmailRequest(SendEmailRequest 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 | 
|---|---|
| Attachment[] | getAttachments()Get Email attachments | 
| String[] | getDestination()Get Recipient email addresses. | 
| String | getFromEmailAddress()Get Sender address. | 
| String | getReplyToAddresses()Get Reply-to address. | 
| Simple | getSimple()Get Email content when sending emails by calling the API. | 
| String | getSubject()Get Email subject. | 
| Template | getTemplate()Get Template when sending emails using a template. | 
| void | setAttachments(Attachment[] Attachments)Set Email attachments | 
| void | setDestination(String[] Destination)Set Recipient email addresses. | 
| void | setFromEmailAddress(String FromEmailAddress)Set Sender address. | 
| void | setReplyToAddresses(String ReplyToAddresses)Set Reply-to address. | 
| void | setSimple(Simple Simple)Set Email content when sending emails by calling the API. | 
| void | setSubject(String Subject)Set Email subject. | 
| void | setTemplate(Template Template)Set Template when sending emails using a template. | 
| 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, toJsonStringpublic SendEmailRequest()
public SendEmailRequest(SendEmailRequest source)
public String getFromEmailAddress()
public void setFromEmailAddress(String FromEmailAddress)
FromEmailAddress - Sender address. Enter a sender address, for example, [email protected]. To display the sender name, enter the address in the following format:  
sender <email address>. For example: 
Tencent Cloud team <[email protected]>public String[] getDestination()
public void setDestination(String[] Destination)
Destination - Recipient email addresses. You can send an email to up to 50 recipients at a time. Note: the email content will display all recipient addresses. To send one-to-one emails to several recipients, please call the API multiple times to send the emails.public String getSubject()
public void setSubject(String Subject)
Subject - Email subject.public String getReplyToAddresses()
public void setReplyToAddresses(String ReplyToAddresses)
ReplyToAddresses - Reply-to address. You can enter a valid personal email address that can receive emails. If this field is left empty, reply emails will be sent to Tencent Cloud.public Template getTemplate()
public void setTemplate(Template Template)
Template - Template when sending emails using a template.public Simple getSimple()
public void setSimple(Simple Simple)
Simple - Email content when sending emails by calling the API.public Attachment[] getAttachments()
public void setAttachments(Attachment[] Attachments)
Attachments - Email attachmentsCopyright © 2021. All rights reserved.