Body Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

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.

Inheritance Hierarchy

System.Object
  Amazon.SimpleEmail.Model.Body

Namespace: Amazon.SimpleEmail.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class Body : Object

The Body type exposes the following members

Constructors

  Name Description
Public Method Body() Default constructor for a new Body object. Callers should use the properties to initialize this object after creating it.
Public Method Body(Content) Constructs a new Body object. Callers should use the properties initialize any additional object members.

Properties

  Name Description
Public Property 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.
Public Property 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).

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8