The DeleteMessage method marks the specified message for
deletion from the storage file. When the message store is closed or
purged, the message is removed from the file. Once a message has
been marked for deletion, it may no longer be referenced by the
application. For example, you cannot access the contents of a message
that has been deleted.
The message store must be opened with write access. This method
will fail if you attempt to delete a message from a storage file that
has been opened for read-only access. If the application needs
to delete messages in the message store, it is recommended that the
file be opened for exclusive access using the mimeStoreLock
option when calling the OpenStore method.