Solved

Automating Outlook Express from VBScript

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…
The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
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…

816 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

11 Experts available now in Live!

Get 1:1 Help Now