Outlook scan body message for email

Category:
Office/VBA
Type:
Applications
Difficulty:
Advanced
Author:
Anonymous

Version Compatibility:

More information:
This code will scan through any folder in your Mailbox and return any emails mentionned in the body of the messages. I wrote this code because I am doing some mass emailing to a community and I needed to collect the emails of all the delivery failure messages to remove them from my listing.

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

Declarations:

Code: