Solved

Outlook COM Add-In not moving messages immediately.

Posted on 2004-09-24
4
260 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Suggested Solutions

Title # Comments Views Activity
64 bit versus 32 bit systems 2 141
vb.net - How to determine string that follows a given substring 7 61
Need help with a query 7 58
C language IDE – Compilers installation 14 95
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…

752 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