Задайте вопросЗадайте вопрос
 

ОтвеченоAdding a recipient to the .msg file

  • 31 марта 2009 г. 9:26Mx Медали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     
    Hello!

    I've a task to develop an utility that could write an msg file from scratch without using any mapi libraries. This limitation is strict, unfortunately.

    So I've studied the structure of the compound file, the red-black trees, etc.

    Now I'm trying to make a file with a message. I can manage every stream and storage like __properties_version1.0, recipient storages and add data to them. I can build a draft message file without any recipients. What I need to do is to "attach" a node to this streams tree that would be a storage for the recipient. I can make a small 7 node storage with needed streams like __recip_version1.0_#0000000, streams that store PidTagEntryId, PidTagDisplayName and so on. Moreiver, I set the value of the top-level stream that is responsible for the DisplayTo form. However, when I open the file and move the mouse to the email address in the "To:" form, the recipient's email disappears. I suppose that I've missed something when I was adding the recipient container (a red-black tree with 7 nodes) to the global tree.

    I'd like to find out what actions should be made when the recipient is added to the message.
    I've already contacted Dmitry Streblechenko from Microsoft whose comments on the net about outlook technologies are very useful, but he had no idea.

Ответы

Все ответы