> SaveAs method in OOM or "Save As" menu command do not trigger the Write
> event.
>
> Dmitry Streblechenko (MVP)
>
http://www.dimastr.com/> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "Kasper" <kasperbolarsen[ at ]gmail.com> wrote in message
> news:1158074086.917945.273370[ at ]i3g2000cwc.googlegroups.com...
>> Dmitry,
>> based on your answer I added a breakpoint in the MailItem.Write event
>> and to me it sure looks like the Write event is not triggered each time
>> the "Save" or "Save as" is activated, strange.....
>> The idea behind my add in is to search the mailitem body for a specific
>> mail reference number. Based on this reference number I am able to look
>> up the path to the place where I store the correspondence with that
>> specific customer. This path should then be should in the "Save As"
>> dialog as the default path.
>> As far as I can understand from various use groups it is not possible
>> to set the InitDir of the save dialog in Outlook. I looked into the
>> possibility to modify the registry entry that specified the default
>> path, but since my users are not admins on their PCs I could not
>> proceed down that road.
>> I have more or less given up on the idea to respond to the Save/Save as
>> event and am now looking at the option to add a special menu item in
>> the right-click menu.
>> Any good idea or suggestions are most welcome
>>
>>
>> Dmitry Streblechenko skrev:
>>
>>> MailItem.Write event.
>>>
>>
>
>