You can handle incoming emails in Outlook by handling the NewMailEx event of the Application
class which is fired when a new message arrives in the Inbox and before client rule processing occurs. This event fires once for every received item that is processed by Microsoft Outlook. The item can be one of several different item types, for example, MailItem
, MeetingItem
, or SharingItem
. The EntryIDsCollection
string contains the Entry ID that corresponds to that item. Use the Entry ID string to call the NameSpace.GetItemFromID method and process the item. So, you can forward items automatically without using rules.
Also you can automate Outlook from Excel to send emails to the senders listed in the workbook. See Mail from Excel with Outlook (Windows) for code samples.