Results 1 to 2 of 2

Thread: Problem with rule creation using excahnge SDK 5.5

  1. #1
    Manish Guest

    Problem with rule creation using excahnge SDK 5.5

    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.

  2. #2
    Dmitry Streblechenko Guest
    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...
    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.

Similar Threads

  1. Server side Rule Creation
    By AJ Burch in forum Administration
    Replies: 2
    Last Post: 10-22-2005, 12:05 AM
  2. Appointment creation problem with extended MAPI
    By Steve in forum Development
    Replies: 1
    Last Post: 10-21-2005, 09:58 AM
  3. OWA Set Rule problem
    By Don in forum Administration
    Replies: 3
    Last Post: 08-08-2005, 05:58 PM
  4. Rule problem on Exchange
    By nyugati in forum Administration
    Replies: 1
    Last Post: 02-13-2005, 01:07 PM
  5. Strange delay problem on email creation
    By Michael Lawson in forum Administration
    Replies: 0
    Last Post: 02-02-2005, 06:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other forums: Access Forum - Microsoft Office Forum - CAD Forum