Outlook Redemption Object Error

GeoNelix

Registered User.
Local time
Today, 09:51
Joined
Aug 27, 2002
Messages
30
Hello,
I am using the Outlook Redemption Object and seem to be running into an issue. The error I'm receiving is "Array Index Out Of Bounds" and the debug points to this line of code:
Set oItem = Outlook.Session.GetDefaultFolder(6).Items(1)
This is the strange thing...the process is run on a dedicated server. The error is produced on this server. When I run the exact process from my PC on the network there is no error. Any ideas? Thanks in advance.
 
Are you accessing the 7th folder? Indexes start at 0..you might be out of the range.

Jon
 
You are right on! Thanks for your help!
 

Users who are viewing this thread

Back
Top Bottom