outlook 2007 MailItem.Move creating reminders

R

reesd

This is driving me crazy. Using Outlook 2007 I have some very simple VBA code
that just moves an email from my Exchange Inbox or IMAP Inbox to a different
PST:

Dim myItem As MailItem
myItem.Move(moveFolder)

About 20% of the time, after this executes Outlook is creating a reminder on
the email that was moved. It seems to do it automatically when the email is
put in the new store for some emails. I don't know what about the email
causes it to happen and why it only happens for some.

The reminder shows up immediately with a "Due In" of "Now". I also can't get
rid of the reminder. If I click Dismiss it just comes back again. The only
thing I can do is close the Reminders Dialog, so I now have 400 email
reminders in this archive folder.

I've tried cleaning it up using VBA with ClearTaskFlag and "ReminderSet =
False", but that seems to have no affect.

The only thing that works is to go in and delete them manually with
mfcmapi.exe.

Does anyone have any ideas?

Thanks,
d
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top