Solved

Outlook COM Add-In not moving messages immediately.

Posted on 2004-09-24
4
241 Views
Last Modified: 2011-09-20
Hi all,

I wrote an Outlook COM Add-In that adds new custom toolbar to Outlook. This toolbar has a button to move selected messages to "Deleted Items" folder. It's kind of Outlook "Delete" button. However, for some unknown reason, when I clicked the button to move selected messages to "Deleted Items" folder, they still stayed in the current folder. But, once I moved to some other folder, and came back to it, all the selected messages were successfully moved to "Deleted Items" folder.

I don't understand why there is such delay. Does it have something to do with Outlook settings, or Exchange server settings? Or, simply there is a bug in my code. But, my logs show no error. I am using "IMAPIFolder::CopyMessages" to move messages.

Thanks
0
Comment
Question by:cgdrizzt
4 Comments
 
LVL 16

Accepted Solution

by:
nonubik earned 125 total points
ID: 12167457
The IMAPIFolder::CopyMessages method copies or moves messages to another folder.
Messages that are open with read/write access can be moved or copied.

0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question