Solved

Outlook COM Add-In not moving messages immediately.

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

808 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