Attach the contents of a byte array to the current message.
This method returns a boolean value. If the method succeeds, the return value is true. If the method fails, the return value is false. To get extended error information, check the value of the LastError property.
The contents of the buffer will be attached to the message as inline content.
The buffer will be examined to determine what kind of data it contains. If there is only text characters, then the content type will be specified as text/plain. If the buffer contains binary data, then the content type will be specified as application/octet-stream, which is appropriate for any type of data.
InternetMail Class | SocketTools Namespace | InternetMail.AttachData Overload List