Solved

Automating Outlook Express from VBScript

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

 Watch the Recording: Learning MySQL 5.7

MySQL 5.7 has a lot of new features. If you've dabbled with an older version of MySQL, it is definitely worth learning.

Question has a verified solution.

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

As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

630 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