PowerTCP Mail for .NET
Html Property




Gets or sets the HTML text body.
Syntax
Public Property Html As String
Dim instance As Multipart
Dim value As String
 
instance.Html = value
 
value = instance.Html
public string Html {get; set;}
public: __property string* get_Html();
public: __property void set_Html( 
   string* value
);
public:
property String^ Html {
   String^ get();
   void set (    String^ value);
}

Property Value

A string representing the HTML text.
Remarks

The first HTML part is returned by this property; parts are searched "depth before breadth". When read and no "text/html" part is found, an empty string is returned.

When set to a non-empty string and no part is found, a new Htmlpart is created and added to Parts. If set to null or an empty string and a "text/html" part is found, the part is removed.

See Also

Reference

Multipart Class
Multipart Members


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic