Working with Mail Messages
You can follow the general procedure for working with messages.
To work with mail messages
- Open the message store with MailOpen.
- Perform tasks such as retrieving messages, inserting messages, sending messages, moving and copying messages, and updating Message Store.
- If you use MailFirst, MailGet, or MailNext in step 2, free the heap with MailFree.
- Close the message store with MailClose.