Create a new plain-text Attachment. It flags the content/type as "text/plain", 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 TextAttachment( string contents ); [C++] public: TextAttachment( String* contents ); [JScript] public function TextAttachment( String contents );