Represents the body of the message. You can specify text, HTML, or both. If you use both, then the message should display correctly in the widest variety of email clients.
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class Body
Public Class Body
public ref class Body
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| Body()()()() |
Default constructor for a new Body object. Callers should use the
properties or fluent setter (With...) methods to initialize this object after creating it.
| |
| Body(Content) |
Constructs a new Body object.
Callers should use the properties or fluent setter (With...) methods to
initialize any additional object members.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Html |
The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted
text, and much more in an HTML message.
| |
| Text |
The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile
devices).
| |
| ToString()()()() | (Inherited from Object.) | |
| WithHtml(Content) |
Sets the Html property
| |
| WithText(Content) |
Sets the Text property
|