AWS SDK for .NET Documentation
Body Class
AmazonAmazon.SimpleEmail.ModelBody 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.
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.
Declaration Syntax
C#
public class Body
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Body()()()()
Default constructor for a new Body object. Callers should use the properties to initialize this object after creating it.

Body(Content)
Constructs a new Body object. Callers should use the properties initialize any additional object members.

Equals(Object)
Determines whether the specified Object is equal to the current 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
Gets and sets the 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.


Text
Gets and sets the 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).


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithHtml(Content) Obsolete.
Sets the Html property

WithText(Content) Obsolete.
Sets the Text property

Inheritance Hierarchy
Object
Body

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)