Simple Mail and Post Office Protocol for .Net (SmtPop)

MimeAttachment Constructor (String, MimeTextContentType)

Constructs an attahcment from string

public MimeAttachment(
   string body,
   MimeTextContentType type
);

Parameters

body
A string containing the attachment body text
type
The Content-Type of the attachement

Remarks

This method initializes a body text with utf8 charset, base64 transfer encoding and inline disposition.

See Also

MimeAttachment Class | SmtPop Namespace | MimeAttachment Constructor Overload List