Convert from System.IO.MemoryStream to Outlook.MailItem?

A

Arild

Hi.

We are currently working on an Drag 'n Drop feature from Outlook to a document library in SPS by using a WinForms Control hosted in IE.
Short version: We have implemented it by copying data from memory to a byte array, and then add the byte array to the document library.

However, requirements tend to change :) We now need to access different meta data, many of which is found as properties in Outlook.MailItem.

Is there a simple solution to convert/cast a byte array (or some other integer array) to an Outlook.MailItem?


Regards,
Arild
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top