Create a new file attachment from a byte array. The contentid will be used to refer to this attachment in another mime part of the email.
[Visual Basic] Public Sub New( _ ByVal bytes As Byte(), _ ByVal contentid As String _ ) [C#] public FileAttachment( byte[] bytes, string contentid ); [C++] public: FileAttachment( char bytes __gc[], String* contentid ); [JScript] public function FileAttachment( Byte[] bytes, String contentid );
FileAttachment Class | DotNetOpenMail Namespace | FileAttachment Constructor Overload List