Platform SDK: CDO 1.2.1

Deleting a Message

The Message object’s Delete method deletes the message.

To delete a message

  1. Select the message you want to delete.
  2. Call the Message object’s Delete method.
  3. Set the Message object to Nothing.

You should not try to access the message after deleting it. Doing so can produce unpredictable results.

See Also

Searching for a Message