Dmitry Streblechenko
Guest
|
Posted:
Thu Oct 27, 2005 12:59 am Post subject:
Re: Problem with rule creation using excahnge SDK 5.5 |
|
|
Did you try to use IMsgStore::SetReceiveFolder() instead?
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Manish" <Manish@discussions.microsoft.com> wrote in message
news:EA5B8CF3-D10C-4C36-B3D1-F084AA401D7A@microsoft.com...
| Quote: | I am using Exchange SDK 5.5 for creating an exchange rule to move message
with a particular message class to a given folder.
I first create a folder and then create a rule. This rule takes as a
parameter the folder object created.
The problem I am facing is that Rule does not work if the folder is just
created before rule creation. If the folder already exists, and only rule
is
created passing that folder object, rule works fine.
In addition if there is a big delay between folder creation and rule
creation, then also rule works.
It seems like there is some exchange synch issue. Has anybody seen this
kind
of behavior? How can this be fixed?
I have tried using CDO as well as MAPI to create this folder.
|
|
|