How can I save a Outlook Message from Clipboard to a file?
Posted
by
SchlaWiener
on Stack Overflow
See other posts from Stack Overflow
or by SchlaWiener
Published on 2011-01-17T11:41:06Z
Indexed on
2011/01/17
11:53 UTC
Read the original article
Hit count: 344
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?
© Stack Overflow or respective owner