Solved

Automating Outlook Express from VBScript

Posted on 2000-02-16
1
336 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

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
We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

679 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