AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.SimpleEmailV2.Model.Message

Namespace: Amazon.SimpleEmailV2.Model
Assembly: AWSSDK.SimpleEmailV2.dll
Version: 3.x.y.z

Syntax

C#
public class Message

The Message type exposes the following members

Constructors

NameDescription
Public Method Message()

Properties

NameTypeDescription
Public Property 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.

Public Property 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.

Public Property 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.

Public Property 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.

Version Information

.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