Working with Mail Messages

You can follow the general procedure for working with messages.

    To work with mail messages
  1. Open the message store with MailOpen.
  2. Perform tasks such as retrieving messages, inserting messages, sending messages, moving and copying messages, and updating Message Store.
  3. If you use MailFirst, MailGet, or MailNext in step 2, free the heap with MailFree.
  4. Close the message store with MailClose.