azure-docs-sdk-java/docs-ref-autogen/com.azure.communication.ema...

412 строки
31 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.communication.email.models.EmailMessage"
fullName: "com.azure.communication.email.models.EmailMessage"
name: "EmailMessage"
nameWithType: "EmailMessage"
summary: "Message payload for sending an email."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **EmailMessage**"
constructors:
- uid: "com.azure.communication.email.models.EmailMessage.EmailMessage()"
fullName: "com.azure.communication.email.models.EmailMessage.EmailMessage()"
name: "EmailMessage()"
nameWithType: "EmailMessage.EmailMessage()"
syntax: "public EmailMessage()"
methods:
- uid: "com.azure.communication.email.models.EmailMessage.getAttachments()"
fullName: "com.azure.communication.email.models.EmailMessage.getAttachments()"
name: "getAttachments()"
nameWithType: "EmailMessage.getAttachments()"
summary: "Get the attachments property: List of attachments."
syntax: "public List<EmailAttachment> getAttachments()"
desc: "Get the attachments property: List of attachments. Please note that we limit the total size of an email request (which includes attachments) to 10MB."
returns:
description: "the attachments value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.communication.email.models.EmailAttachment?alt=com.azure.communication.email.models.EmailAttachment&text=EmailAttachment\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.communication.email.models.EmailMessage.getBccRecipients()"
fullName: "com.azure.communication.email.models.EmailMessage.getBccRecipients()"
name: "getBccRecipients()"
nameWithType: "EmailMessage.getBccRecipients()"
summary: "Get the bcc<wbr>Recipients property: Email BCC recipients."
syntax: "public List<EmailAddress> getBccRecipients()"
desc: "Get the bccRecipients property: Email BCC recipients."
returns:
description: "the bCC value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.communication.email.models.EmailAddress?alt=com.azure.communication.email.models.EmailAddress&text=EmailAddress\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.communication.email.models.EmailMessage.getBodyHtml()"
fullName: "com.azure.communication.email.models.EmailMessage.getBodyHtml()"
name: "getBodyHtml()"
nameWithType: "EmailMessage.getBodyHtml()"
summary: "Get the body<wbr>Html property: Html version of the email message."
syntax: "public String getBodyHtml()"
desc: "Get the bodyHtml property: Html version of the email message."
returns:
description: "the html value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.communication.email.models.EmailMessage.getBodyPlainText()"
fullName: "com.azure.communication.email.models.EmailMessage.getBodyPlainText()"
name: "getBodyPlainText()"
nameWithType: "EmailMessage.getBodyPlainText()"
summary: "Get the body<wbr>Plain<wbr>Text property: Plain text version of the email message."
syntax: "public String getBodyPlainText()"
desc: "Get the bodyPlainText property: Plain text version of the email message."
returns:
description: "the bodyPlainText value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.communication.email.models.EmailMessage.getCcRecipients()"
fullName: "com.azure.communication.email.models.EmailMessage.getCcRecipients()"
name: "getCcRecipients()"
nameWithType: "EmailMessage.getCcRecipients()"
summary: "Get the cc<wbr>Recipients property: Email CC recipients."
syntax: "public List<EmailAddress> getCcRecipients()"
desc: "Get the ccRecipients property: Email CC recipients."
returns:
description: "the cc value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.communication.email.models.EmailAddress?alt=com.azure.communication.email.models.EmailAddress&text=EmailAddress\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.communication.email.models.EmailMessage.getHeaders()"
fullName: "com.azure.communication.email.models.EmailMessage.getHeaders()"
name: "getHeaders()"
nameWithType: "EmailMessage.getHeaders()"
summary: "Get the headers property: Custom email headers to be passed."
syntax: "public Map<String,String> getHeaders()"
desc: "Get the headers property: Custom email headers to be passed."
returns:
description: "the headers value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.communication.email.models.EmailMessage.getReplyTo()"
fullName: "com.azure.communication.email.models.EmailMessage.getReplyTo()"
name: "getReplyTo()"
nameWithType: "EmailMessage.getReplyTo()"
summary: "Get the reply<wbr>To property: Email addresses where recipients' replies will be sent to."
syntax: "public List<EmailAddress> getReplyTo()"
desc: "Get the replyTo property: Email addresses where recipients' replies will be sent to."
returns:
description: "the replyTo value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.communication.email.models.EmailAddress?alt=com.azure.communication.email.models.EmailAddress&text=EmailAddress\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.communication.email.models.EmailMessage.getSenderAddress()"
fullName: "com.azure.communication.email.models.EmailMessage.getSenderAddress()"
name: "getSenderAddress()"
nameWithType: "EmailMessage.getSenderAddress()"
summary: "Get the sender<wbr>Address property: Sender email address from a verified domain."
syntax: "public String getSenderAddress()"
desc: "Get the senderAddress property: Sender email address from a verified domain."
returns:
description: "the senderAddress value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.communication.email.models.EmailMessage.getSubject()"
fullName: "com.azure.communication.email.models.EmailMessage.getSubject()"
name: "getSubject()"
nameWithType: "EmailMessage.getSubject()"
summary: "Get the subject property: Subject of the email message."
syntax: "public String getSubject()"
desc: "Get the subject property: Subject of the email message."
returns:
description: "the subject value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.communication.email.models.EmailMessage.getToRecipients()"
fullName: "com.azure.communication.email.models.EmailMessage.getToRecipients()"
name: "getToRecipients()"
nameWithType: "EmailMessage.getToRecipients()"
summary: "Get the to<wbr>Recipients property: Email To recipients."
syntax: "public List<EmailAddress> getToRecipients()"
desc: "Get the toRecipients property: Email To recipients."
returns:
description: "the toRecipients value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.communication.email.models.EmailAddress?alt=com.azure.communication.email.models.EmailAddress&text=EmailAddress\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.communication.email.models.EmailMessage.isUserEngagementTrackingDisabled()"
fullName: "com.azure.communication.email.models.EmailMessage.isUserEngagementTrackingDisabled()"
name: "isUserEngagementTrackingDisabled()"
nameWithType: "EmailMessage.isUserEngagementTrackingDisabled()"
summary: "Get the disable<wbr>User<wbr>Engagement<wbr>Tracking property: Indicates whether user engagement tracking should be disabled for this request if the resource-level user engagement tracking setting was already enabled in the control plane."
syntax: "public Boolean isUserEngagementTrackingDisabled()"
desc: "Get the disableUserEngagementTracking property: Indicates whether user engagement tracking should be disabled for this request if the resource-level user engagement tracking setting was already enabled in the control plane."
returns:
description: "the userEngagementTrackingDisabled value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.communication.email.models.EmailMessage.setAttachments(com.azure.communication.email.models.EmailAttachment...)"
fullName: "com.azure.communication.email.models.EmailMessage.setAttachments(EmailAttachment[] attachments)"
name: "setAttachments(EmailAttachment[] attachments)"
nameWithType: "EmailMessage.setAttachments(EmailAttachment[] attachments)"
summary: "Set the attachments property: List of attachments."
parameters:
- description: "the attachments value to set."
name: "attachments"
type: "<xref href=\"com.azure.communication.email.models.EmailAttachment?alt=com.azure.communication.email.models.EmailAttachment&text=EmailAttachment\" data-throw-if-not-resolved=\"False\" />[]"
syntax: "public EmailMessage setAttachments(EmailAttachment[] attachments)"
desc: "Set the attachments property: List of attachments. Please note that we limit the total size of an email request (which includes attachments) to 10MB."
returns:
description: "the EmailMessage object itself."
type: "<xref href=\"com.azure.communication.email.models.EmailMessage?alt=com.azure.communication.email.models.EmailMessage&text=EmailMessage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.email.models.EmailMessage.setAttachments(java.util.List<com.azure.communication.email.models.EmailAttachment>)"
fullName: "com.azure.communication.email.models.EmailMessage.setAttachments(List<EmailAttachment> attachments)"
name: "setAttachments(List<EmailAttachment> attachments)"
nameWithType: "EmailMessage.setAttachments(List<EmailAttachment> attachments)"
summary: "Set the attachments property: List of attachments."
parameters:
- description: "the attachments value to set."
name: "attachments"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.communication.email.models.EmailAttachment?alt=com.azure.communication.email.models.EmailAttachment&text=EmailAttachment\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public EmailMessage setAttachments(List<EmailAttachment> attachments)"
desc: "Set the attachments property: List of attachments. Please note that we limit the total size of an email request (which includes attachments) to 10MB."
returns:
description: "the EmailMessage object itself."
type: "<xref href=\"com.azure.communication.email.models.EmailMessage?alt=com.azure.communication.email.models.EmailMessage&text=EmailMessage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.email.models.EmailMessage.setBccRecipients(com.azure.communication.email.models.EmailAddress...)"
fullName: "com.azure.communication.email.models.EmailMessage.setBccRecipients(EmailAddress[] bccRecipients)"
name: "setBccRecipients(EmailAddress[] bccRecipients)"
nameWithType: "EmailMessage.setBccRecipients(EmailAddress[] bccRecipients)"
summary: "Set the bcc<wbr>Recipients property: Email BCC recipients."
parameters:
- description: "the bccRecipients value to set."
name: "bccRecipients"
type: "<xref href=\"com.azure.communication.email.models.EmailAddress?alt=com.azure.communication.email.models.EmailAddress&text=EmailAddress\" data-throw-if-not-resolved=\"False\" />[]"
syntax: "public EmailMessage setBccRecipients(EmailAddress[] bccRecipients)"
desc: "Set the bccRecipients property: Email BCC recipients."
returns:
description: "the EmailRecipients object itself."
type: "<xref href=\"com.azure.communication.email.models.EmailMessage?alt=com.azure.communication.email.models.EmailMessage&text=EmailMessage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.email.models.EmailMessage.setBccRecipients(java.lang.String...)"
fullName: "com.azure.communication.email.models.EmailMessage.setBccRecipients(String[] bccRecipientAddresses)"
name: "setBccRecipients(String[] bccRecipientAddresses)"
nameWithType: "EmailMessage.setBccRecipients(String[] bccRecipientAddresses)"
summary: "Set the bcc<wbr>Recipients property: Email BCC recipients."
parameters:
- description: "the addresses of the bccRecipients to set."
name: "bccRecipientAddresses"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>[]"
syntax: "public EmailMessage setBccRecipients(String[] bccRecipientAddresses)"
desc: "Set the bccRecipients property: Email BCC recipients."
returns:
description: "the EmailContent object itself."
type: "<xref href=\"com.azure.communication.email.models.EmailMessage?alt=com.azure.communication.email.models.EmailMessage&text=EmailMessage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.email.models.EmailMessage.setBccRecipients(java.util.List<com.azure.communication.email.models.EmailAddress>)"
fullName: "com.azure.communication.email.models.EmailMessage.setBccRecipients(List<EmailAddress> bccRecipients)"
name: "setBccRecipients(List<EmailAddress> bccRecipients)"
nameWithType: "EmailMessage.setBccRecipients(List<EmailAddress> bccRecipients)"
summary: "Set the bcc<wbr>Recipients property: Email BCC recipients."
parameters:
- description: "the bccRecipients value to set."
name: "bccRecipients"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.communication.email.models.EmailAddress?alt=com.azure.communication.email.models.EmailAddress&text=EmailAddress\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public EmailMessage setBccRecipients(List<EmailAddress> bccRecipients)"
desc: "Set the bccRecipients property: Email BCC recipients."
returns:
description: "the EmailRecipients object itself."
type: "<xref href=\"com.azure.communication.email.models.EmailMessage?alt=com.azure.communication.email.models.EmailMessage&text=EmailMessage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.email.models.EmailMessage.setBodyHtml(java.lang.String)"
fullName: "com.azure.communication.email.models.EmailMessage.setBodyHtml(String bodyHtml)"
name: "setBodyHtml(String bodyHtml)"
nameWithType: "EmailMessage.setBodyHtml(String bodyHtml)"
summary: "Set the body<wbr>Html property: Html version of the email message."
parameters:
- description: "the html value to set."
name: "bodyHtml"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public EmailMessage setBodyHtml(String bodyHtml)"
desc: "Set the bodyHtml property: Html version of the email message."
returns:
description: "the EmailContent object itself."
type: "<xref href=\"com.azure.communication.email.models.EmailMessage?alt=com.azure.communication.email.models.EmailMessage&text=EmailMessage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.email.models.EmailMessage.setBodyPlainText(java.lang.String)"
fullName: "com.azure.communication.email.models.EmailMessage.setBodyPlainText(String bodyPlainText)"
name: "setBodyPlainText(String bodyPlainText)"
nameWithType: "EmailMessage.setBodyPlainText(String bodyPlainText)"
summary: "Set the body<wbr>Plain<wbr>Text property: Plain text version of the email message."
parameters:
- description: "the bodyPlainText value to set."
name: "bodyPlainText"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public EmailMessage setBodyPlainText(String bodyPlainText)"
desc: "Set the bodyPlainText property: Plain text version of the email message."
returns:
description: "the EmailMessage object itself."
type: "<xref href=\"com.azure.communication.email.models.EmailMessage?alt=com.azure.communication.email.models.EmailMessage&text=EmailMessage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.email.models.EmailMessage.setCcRecipients(com.azure.communication.email.models.EmailAddress...)"
fullName: "com.azure.communication.email.models.EmailMessage.setCcRecipients(EmailAddress[] ccRecipients)"
name: "setCcRecipients(EmailAddress[] ccRecipients)"
nameWithType: "EmailMessage.setCcRecipients(EmailAddress[] ccRecipients)"
summary: "Set the cc<wbr>Recipients property: Email CC recipients."
parameters:
- description: "the cc value to set."
name: "ccRecipients"
type: "<xref href=\"com.azure.communication.email.models.EmailAddress?alt=com.azure.communication.email.models.EmailAddress&text=EmailAddress\" data-throw-if-not-resolved=\"False\" />[]"
syntax: "public EmailMessage setCcRecipients(EmailAddress[] ccRecipients)"
desc: "Set the ccRecipients property: Email CC recipients."
returns:
description: "the EmailMessage object itself."
type: "<xref href=\"com.azure.communication.email.models.EmailMessage?alt=com.azure.communication.email.models.EmailMessage&text=EmailMessage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.email.models.EmailMessage.setCcRecipients(java.lang.String...)"
fullName: "com.azure.communication.email.models.EmailMessage.setCcRecipients(String[] ccRecipientAddresses)"
name: "setCcRecipients(String[] ccRecipientAddresses)"
nameWithType: "EmailMessage.setCcRecipients(String[] ccRecipientAddresses)"
summary: "Set the cc<wbr>Recipients property: Email CC recipients."
parameters:
- description: "the addresses of the ccRecipients to set."
name: "ccRecipientAddresses"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>[]"
syntax: "public EmailMessage setCcRecipients(String[] ccRecipientAddresses)"
desc: "Set the ccRecipients property: Email CC recipients."
returns:
description: "the EmailContent object itself."
type: "<xref href=\"com.azure.communication.email.models.EmailMessage?alt=com.azure.communication.email.models.EmailMessage&text=EmailMessage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.email.models.EmailMessage.setCcRecipients(java.util.List<com.azure.communication.email.models.EmailAddress>)"
fullName: "com.azure.communication.email.models.EmailMessage.setCcRecipients(List<EmailAddress> ccRecipients)"
name: "setCcRecipients(List<EmailAddress> ccRecipients)"
nameWithType: "EmailMessage.setCcRecipients(List<EmailAddress> ccRecipients)"
summary: "Set the cc<wbr>Recipients property: Email CC recipients."
parameters:
- description: "the cc value to set."
name: "ccRecipients"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.communication.email.models.EmailAddress?alt=com.azure.communication.email.models.EmailAddress&text=EmailAddress\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public EmailMessage setCcRecipients(List<EmailAddress> ccRecipients)"
desc: "Set the ccRecipients property: Email CC recipients."
returns:
description: "the EmailMessage object itself."
type: "<xref href=\"com.azure.communication.email.models.EmailMessage?alt=com.azure.communication.email.models.EmailMessage&text=EmailMessage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.email.models.EmailMessage.setHeaders(java.util.Map<java.lang.String,java.lang.String>)"
fullName: "com.azure.communication.email.models.EmailMessage.setHeaders(Map<String,String> headers)"
name: "setHeaders(Map<String,String> headers)"
nameWithType: "EmailMessage.setHeaders(Map<String,String> headers)"
summary: "Set the headers property: Custom email headers to be passed."
parameters:
- description: "the headers value to set."
name: "headers"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public EmailMessage setHeaders(Map<String,String> headers)"
desc: "Set the headers property: Custom email headers to be passed."
returns:
description: "the EmailMessage object itself."
type: "<xref href=\"com.azure.communication.email.models.EmailMessage?alt=com.azure.communication.email.models.EmailMessage&text=EmailMessage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.email.models.EmailMessage.setReplyTo(com.azure.communication.email.models.EmailAddress...)"
fullName: "com.azure.communication.email.models.EmailMessage.setReplyTo(EmailAddress[] replyTo)"
name: "setReplyTo(EmailAddress[] replyTo)"
nameWithType: "EmailMessage.setReplyTo(EmailAddress[] replyTo)"
summary: "Set the reply<wbr>To property: Email addresses where recipients' replies will be sent to."
parameters:
- description: "the replyTo value to set."
name: "replyTo"
type: "<xref href=\"com.azure.communication.email.models.EmailAddress?alt=com.azure.communication.email.models.EmailAddress&text=EmailAddress\" data-throw-if-not-resolved=\"False\" />[]"
syntax: "public EmailMessage setReplyTo(EmailAddress[] replyTo)"
desc: "Set the replyTo property: Email addresses where recipients' replies will be sent to."
returns:
description: "the EmailMessage object itself."
type: "<xref href=\"com.azure.communication.email.models.EmailMessage?alt=com.azure.communication.email.models.EmailMessage&text=EmailMessage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.email.models.EmailMessage.setReplyTo(java.util.List<com.azure.communication.email.models.EmailAddress>)"
fullName: "com.azure.communication.email.models.EmailMessage.setReplyTo(List<EmailAddress> replyTo)"
name: "setReplyTo(List<EmailAddress> replyTo)"
nameWithType: "EmailMessage.setReplyTo(List<EmailAddress> replyTo)"
summary: "Set the reply<wbr>To property: Email addresses where recipients' replies will be sent to."
parameters:
- description: "the replyTo value to set."
name: "replyTo"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.communication.email.models.EmailAddress?alt=com.azure.communication.email.models.EmailAddress&text=EmailAddress\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public EmailMessage setReplyTo(List<EmailAddress> replyTo)"
desc: "Set the replyTo property: Email addresses where recipients' replies will be sent to."
returns:
description: "the EmailMessage object itself."
type: "<xref href=\"com.azure.communication.email.models.EmailMessage?alt=com.azure.communication.email.models.EmailMessage&text=EmailMessage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.email.models.EmailMessage.setSenderAddress(java.lang.String)"
fullName: "com.azure.communication.email.models.EmailMessage.setSenderAddress(String senderAddress)"
name: "setSenderAddress(String senderAddress)"
nameWithType: "EmailMessage.setSenderAddress(String senderAddress)"
summary: "Set the sender<wbr>Address property: Sender email address from a verified domain."
parameters:
- description: "the senderAddress value to set."
name: "senderAddress"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public EmailMessage setSenderAddress(String senderAddress)"
desc: "Set the senderAddress property: Sender email address from a verified domain."
returns:
description: "the EmailMessage object itself."
type: "<xref href=\"com.azure.communication.email.models.EmailMessage?alt=com.azure.communication.email.models.EmailMessage&text=EmailMessage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.email.models.EmailMessage.setSubject(java.lang.String)"
fullName: "com.azure.communication.email.models.EmailMessage.setSubject(String subject)"
name: "setSubject(String subject)"
nameWithType: "EmailMessage.setSubject(String subject)"
summary: "Set the subject property: Subject of the email message."
parameters:
- description: "the subject value to set."
name: "subject"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public EmailMessage setSubject(String subject)"
desc: "Set the subject property: Subject of the email message."
returns:
description: "the EmailMessage object itself."
type: "<xref href=\"com.azure.communication.email.models.EmailMessage?alt=com.azure.communication.email.models.EmailMessage&text=EmailMessage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.email.models.EmailMessage.setToRecipients(com.azure.communication.email.models.EmailAddress...)"
fullName: "com.azure.communication.email.models.EmailMessage.setToRecipients(EmailAddress[] toRecipients)"
name: "setToRecipients(EmailAddress[] toRecipients)"
nameWithType: "EmailMessage.setToRecipients(EmailAddress[] toRecipients)"
summary: "Set the to<wbr>Recipients property: Email To recipients."
parameters:
- description: "the toRecipients value to set."
name: "toRecipients"
type: "<xref href=\"com.azure.communication.email.models.EmailAddress?alt=com.azure.communication.email.models.EmailAddress&text=EmailAddress\" data-throw-if-not-resolved=\"False\" />[]"
syntax: "public EmailMessage setToRecipients(EmailAddress[] toRecipients)"
desc: "Set the toRecipients property: Email To recipients."
returns:
description: "the EmailContent object itself."
type: "<xref href=\"com.azure.communication.email.models.EmailMessage?alt=com.azure.communication.email.models.EmailMessage&text=EmailMessage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.email.models.EmailMessage.setToRecipients(java.lang.String...)"
fullName: "com.azure.communication.email.models.EmailMessage.setToRecipients(String[] toRecipientAddresses)"
name: "setToRecipients(String[] toRecipientAddresses)"
nameWithType: "EmailMessage.setToRecipients(String[] toRecipientAddresses)"
summary: "Set the to<wbr>Recipients property: Email To recipients."
parameters:
- description: "the addresses of the toRecipients to set."
name: "toRecipientAddresses"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>[]"
syntax: "public EmailMessage setToRecipients(String[] toRecipientAddresses)"
desc: "Set the toRecipients property: Email To recipients."
returns:
description: "the EmailContent object itself."
type: "<xref href=\"com.azure.communication.email.models.EmailMessage?alt=com.azure.communication.email.models.EmailMessage&text=EmailMessage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.email.models.EmailMessage.setToRecipients(java.util.List<com.azure.communication.email.models.EmailAddress>)"
fullName: "com.azure.communication.email.models.EmailMessage.setToRecipients(List<EmailAddress> toRecipients)"
name: "setToRecipients(List<EmailAddress> toRecipients)"
nameWithType: "EmailMessage.setToRecipients(List<EmailAddress> toRecipients)"
summary: "Set the to<wbr>Recipients property: Email To recipients."
parameters:
- description: "the toRecipients value to set."
name: "toRecipients"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.communication.email.models.EmailAddress?alt=com.azure.communication.email.models.EmailAddress&text=EmailAddress\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public EmailMessage setToRecipients(List<EmailAddress> toRecipients)"
desc: "Set the toRecipients property: Email To recipients."
returns:
description: "the EmailContent object itself."
type: "<xref href=\"com.azure.communication.email.models.EmailMessage?alt=com.azure.communication.email.models.EmailMessage&text=EmailMessage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.email.models.EmailMessage.setUserEngagementTrackingDisabled(java.lang.Boolean)"
fullName: "com.azure.communication.email.models.EmailMessage.setUserEngagementTrackingDisabled(Boolean userEngagementTrackingDisabled)"
name: "setUserEngagementTrackingDisabled(Boolean userEngagementTrackingDisabled)"
nameWithType: "EmailMessage.setUserEngagementTrackingDisabled(Boolean userEngagementTrackingDisabled)"
summary: "Set the user<wbr>Engagement<wbr>Tracking<wbr>Disabled property: Indicates whether user engagement tracking should be disabled for this request if the resource-level user engagement tracking setting was already enabled in the control plane."
parameters:
- description: "the userEngagementTrackingDisabled value to set."
name: "userEngagementTrackingDisabled"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public EmailMessage setUserEngagementTrackingDisabled(Boolean userEngagementTrackingDisabled)"
desc: "Set the userEngagementTrackingDisabled property: Indicates whether user engagement tracking should be disabled for this request if the resource-level user engagement tracking setting was already enabled in the control plane."
returns:
description: "the EmailMessage object itself."
type: "<xref href=\"com.azure.communication.email.models.EmailMessage?alt=com.azure.communication.email.models.EmailMessage&text=EmailMessage\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Message payload for sending an email."
metadata: {}
package: "com.azure.communication.email.models"
artifact: com.azure:azure-communication-email:1.0.16