View Single Post
  #6  
Old August 26th 09, 02:20 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to change mail path in outlook

If your problems are with what's being returned by OnSyncSave as a folder
event sink then it's not an Outlook problem but a problem in the event sink.
I'd post about this in an Exchange development group. There's not much on
the Outlook end that you can do to fix what's coming in from that event
sink.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Ashish" wrote in message
...
I'm not doing anything with subject. I was using subject keyword for
folowing purpose
If we open a mailsave any mail item, we access it using
inspector.currentitem and save this mail (mailitem-Save() method) then
outlook generates a path which we get in OnSyncSave. This path contains
mail location in its folder like ..Inbox/mailsubject.eml
Before saving mail i did not change subject.
Here my question is
If any other mail (having same subject) is also there in same folder then
we get the path for old mail in onsyncsave while we did not open/access
old mail.

To generate correct path before saving mail i change many fields of
current mail but still onsyncsave shows path for another mail.


Ads