Solved

Automating Outlook Express from VBScript

Posted on 2000-02-16
1
331 Views
Last Modified: 2007-02-13
I'm using this code in order to read the contents of my Outlook Express Inbox:

Sub GetFolderContents()

 Dim objOutlook As Object
 Dim str As String
 Set objOutlook = CreateObject("Outlook.Application")
   Dim objNameSpace As Object
   Dim objFolder As Object
   Dim i As Integer
   Set objNameSpace = Outlook.GetNamespace("MAPI")
   Set objFolder = _
         objNameSpace.GetDefaultFolder(olFolderInbox)  
         For i = 1 To objFolder.Items.Count            
            'do something
         Next                                          
       Set objFolder = Nothing
       Set objNameSpace = Nothing
       Set objOutlook = Nothing
End Sub

But it read the two items I have in the outlook Inbox which I actually don't use at all.
What can I do in order to read the Outlook Express folders ?
0
Comment
Question by:moshe_kz
1 Comment
 
LVL 1

Accepted Solution

by:
rammeri earned 0 total points
ID: 2527955
nothing. Outlook Express does not support automatisation.


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The canonical version of this article is on my web site here: http://iconoun.com/articles/collisions/ A companion presentation is available here: http://iconoun.com/articles/collisions/Unicode_Presentation.pdf
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now