I am using outlook 2010. i drag and drop single contact to desktop. contact created on desktop with ".msg" extensions. this file create in local folder using VC++/MFC
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
A few options:
MSG file format is documented, so you can use straight OLE storage API. http://msdn.microsoft.com/en-us/library/cc463912(v=exchg.80).aspx
Use Extended MAPI (OpenIMsgOnIStg).
Use Redemption and its RDOSession.CreateMessageFromMsgFile method. All you have to do is call CreateMessageFromMsgFile, populate the properties of the returned RDOMail object, call RDOMail.Save.