By default, the text must be 7-bit ASCII, due to the constraints of the SMTP protocol. If the text must contain any other characters, then you must also specify a character set. Examples include UTF-8, ISO-8859-1, and Shift_JIS.
By default, the text must be 7-bit ASCII, due to the constraints of the SMTP protocol. If the text must contain any other characters, then you must also specify a character set. Examples include UTF-8, ISO-8859-1, and Shift_JIS.
 Declaration Syntax
 Declaration Syntax| C# | 
public class Content
 Members
 Members| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description | 
|---|---|---|
|  | Content()()()() | 
            Default constructor for a new Content object.  Callers should use the
            properties to initialize this object after creating it.
             | 
|  | Content(String) | 
            Constructs a new Content object.
            Callers should use the properties initialize any additional object members.
             | 
|  | Charset | 
            Gets and sets the property Charset. 
             The character set of the content. | 
|  | Data | 
            Gets and sets the property Data. 
             The textual data of the content. | 
|  | 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.) | 
|  | ToString()()()() | Returns a string that represents the current object.(Inherited from Object.) | 
|  | WithCharset(String) | Obsolete. 
            Sets the Charset property
             | 
|  | WithData(String) | Obsolete. 
            Sets the Data property
             | 
 Inheritance Hierarchy
 Inheritance Hierarchy| Object | |
|  | Content |