Retrieving Mail Messages

Before using a message and its related information, you must retrieve it from the message store. If you know the object identifier of the message, you can call MailGet to retrieve the message directly from the message store. Otherwise, you need to use MailFirst to get the first message. You can then step through the message store with repeated calls to MailNext.