How can I save a Outlook Message from Clipboard to a file?
- by SchlaWiener
If I select an Outlook message from my Inbox and copy it to the clipboard I can paste it as an *.msg file to the Desktop.
Now I want to implement the same feature to my application.
The Clipboard object contains the following elements:
RenPrivateSourceFolder
RenPrivateMessages
RenPrivateItem
FileGroupDescriptor
FileGroupDescriptorW
FileDrop
FileNameW
FileName
FileContents
Object Descriptor
System.String
UnicodeText
Text
FileGroupDescriptor contains a MemoryStream with the filename (Subject.msg) but I don't know how to create a copy from the outlook message from the Clipboard data, since none of the elements seem to contain the message itself.
Any Suggestions?