public void AddAttachment(Stream stream) { if (stream != null) { attachments.Add(stream); } }
This method attaches the stream to the attachments ArrayList instead of an Attachment object, causing an error message to be thrown in GetMessageBody()
Logged In: YES user_id=1294032
A workaround is to create an attachment object with the stream and then add that to the message instead of using this function.
Log in to post a comment.
Logged In: YES
user_id=1294032
A workaround is to create an attachment object with the
stream and then add that to the message instead of using
this function.