Not sure...
Deleting emails is a simple affair as long as you have the message Id.
+++ Rick ---
Hi Rick,
I'm sorry to bother you with this but I am having a problem that I just cannot solve and I'm hoping you can point me in the right direction.
As you know, I am updating my system from WWIP v 4.3.5.0 to 5.66. As part of this process, I rewrote some of the code in my system that hosts WWIP.
After the rewrite, using v4.3.5.0, I can read messages, but I can no longer delete email messages. What I observe is: the function "DeleteMessage" returns .T. but the message is not deleted! I traced the execution through your code within the function "DeleteMessage" and everything looks ok, but the message is not deleted.
Fortunately, I saved an .app file before I started making changes. When I run that .app file, the messages are deleted. The system uses the same .dll file for both apps.
I cannot figure out what is going wrong. Do you have any ideas about where to look? As I said, I traced the code execution through your routines and it looks fine.
I do have one idea: it is possible that when I rebuilt the app, I accidentally used a different version of your source code (not v4.3.5.0). If this is true, there would be a mismatch between your code and the dll file. Does this seem like a possible reason for the delete failures?
Is there a way to determine the version of the code from looking at the source code? I took a quick look and can't find any comments indicating the version.
Thanks, Chaim
PS Big picture: I need to get the 4.3.5.0 version working because the 5.66 version apparently is incompatible with the Win/2K OS. I am trying to get the 4.3.5.0 version working under Win/2K before continuing work on the 5.66 version, which will run under Win/XP.