Solved

Outlook COM Add-In not moving messages immediately.

Posted on 2004-09-24
4
221 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

759 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now