AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Represents the email message that you're sending. The Message
object consists
of a subject line and a message body.
Namespace: Amazon.SimpleEmailV2.Model
Assembly: AWSSDK.SimpleEmailV2.dll
Version: 3.x.y.z
public class Message
The Message type exposes the following members
Name | Description | |
---|---|---|
![]() |
Message() |
Name | Type | Description | |
---|---|---|---|
![]() |
Attachments | System.Collections.Generic.List<Amazon.SimpleEmailV2.Model.Attachment> |
Gets and sets the property Attachments. The List of attachments to include in your email. All recipients will receive the same attachments. |
![]() |
Body | Amazon.SimpleEmailV2.Model.Body |
Gets and sets the property Body. The body of the message. You can specify an HTML version of the message, a text-only version of the message, or both. |
![]() |
Headers | System.Collections.Generic.List<Amazon.SimpleEmailV2.Model.MessageHeader> |
Gets and sets the property Headers. The list of message headers that will be added to the email message. |
![]() |
Subject | Amazon.SimpleEmailV2.Model.Content |
Gets and sets the property Subject. The subject line of the email. The subject line can only contain 7-bit ASCII characters. However, you can specify non-ASCII characters in the subject line by using encoded-word syntax, as described in RFC 2047. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5