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.
An object that defines the entire content of the email, including the message headers, body content, and attachments. For a simple email message, you specify the subject and provide both text and HTML versions of the message body. You can also add attachments to simple and templated messages. For a raw message, you provide a complete MIME-formatted message, which can include custom headers and attachments.
Namespace: Amazon.SimpleEmailV2.Model
Assembly: AWSSDK.SimpleEmailV2.dll
Version: 3.x.y.z
public class EmailContent
The EmailContent type exposes the following members
Name | Description | |
---|---|---|
![]() |
EmailContent() |
Name | Type | Description | |
---|---|---|---|
![]() |
Raw | Amazon.SimpleEmailV2.Model.RawMessage |
Gets and sets the property Raw. The raw email message. The message has to meet the following criteria:
|
![]() |
Simple | Amazon.SimpleEmailV2.Model.Message |
Gets and sets the property Simple. The simple email message. The message consists of a subject, message body and attachments list. |
![]() |
Template | Amazon.SimpleEmailV2.Model.Template |
Gets and sets the property Template. The template to use for the email message. |
.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