简体   繁体   中英

Create modifiable mail item from memorystream (oft file)

I have oft files stored in the database as binaries. Now I have to open the files so the user only has to click on send. But before this, I have to modify some attributes (To, message).

So how can I get a modifiable Mail Item from a MemoryStream?

EDIT

I'm open to solutions with other filetypes, I can change the binaries. The file just has to open in Outlook at the end.

你不能- Application.CreateItemfromTemplate只允许你指定基于文件OFT一个简单的原因一个文件:有共同物流或其他存储格式,可以使用Outlook对象模型的所有语言能理解或提供。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM