Problem with rule creation using excahnge SDK 5.5
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
Problem with rule creation using excahnge SDK 5.5

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development
Author Message
Manish
Guest





Posted: Wed Oct 26, 2005 11:42 pm    Post subject: Problem with rule creation using excahnge SDK 5.5 Reply with 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.

Back to top
Dmitry Streblechenko
Guest





Posted: Thu Oct 27, 2005 12:59 am    Post subject: Re: Problem with rule creation using excahnge SDK 5.5 Reply with quote

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.

Back to top
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server Dedicated Servers
Contact Us
New Topics Powered by phpBB