First Steps of Outlook Automation
This is a multipart Article, I know some of you already know how tou use outlook in a automation way, but this will take you step by step through every part of outlook, and I will also note which areas cause the security dialogs, also I will post a Redemption version which will allow the bypassing of these dialogs.
Part 4 – Looking at the MailItem Methods and Events
In this part we will investigate the Methods and Events of the mail item object.
So let’s dive straight in and look at what Methods we have available to us:
Method
So let’s start with the very basic sending an e-mail, the code for this is:
LOCAL loOutlook AS Outlook.Application
LOCAL loNameSpace AS Outlook.NameSpace
LOCAL loMailItem AS Outlook.MailItem
LOCAL llShowItem
So how do we make Outlook Visible, like Word, Excel and the rest?
Outlook is the only one not to have a visible property.
So the way we make Outlook visible is with the following code:
LOCAL loOutlook AS Outlook.Application
Welcome to my first Article blog. What I intend to do is uncover the entire Outlook Object Model and show what areas cause the security dialogs, also how to create the basics. So lets Start:
Assuming we have already done the following: Created a basic