Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Outlook COM Add-In not moving messages immediately.

Posted on 2004-09-24
4
Medium Priority
?
271 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 500 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

972 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