Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Automating Outlook Express from VBScript

Posted on 2000-02-16
1
Medium Priority
?
344 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

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


0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

704 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