DotNetOpenMail 0.5.7 (beta)

HtmlAttachment Constructor 

Create a new HTML Attachment. It flags the content/type as "text/html", uses Quoted Printable encoding by default, and uses the default character set, which is ISO-8859-1 unless otherwise specified in the .config file.

[Visual Basic]
Public Sub New( _ 
   ByVal contents As String _ 
)
[C#]
public HtmlAttachment(
   string contents
);
[C++]
public: HtmlAttachment(
   String* contents
);
[JScript]
public function HtmlAttachment(
   String contents
);

Parameters

contents
The HTML content of the attachment

See Also

HtmlAttachment Class | DotNetOpenMail Namespace