Access Each Message in Outlook Inbox

Category:
Office/VBA
Type:
Snippets
Difficulty:
Beginning
Author:
Intelligent Solutions Inc.

Version Compatibility: Visual Basic 6

More information:
This routine gets access the outlook inbox folder on the local machine, loops through each message, reads basic info about the message, and saves the message and all of it's attachments. It is designed to give you a basic idea of what you can do with the outlook object model, especially the contents of folders. A reference to Microsoft Outlook Type Library is required.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: