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 _ 
public HtmlAttachment(
   string contents
public: HtmlAttachment(
   String* contents
public function HtmlAttachment(
   String contents


The HTML content of the attachment

See Also

HtmlAttachment Class | DotNetOpenMail Namespace