View Single Post
  #3  
Old February 28th 07, 12:17 AM posted to microsoft.public.outlook.program_vba
oorexxpert
external usenet poster
 
Posts: 8
Default 80004005 Getting Body

On Feb 19, 11:41 pm, "Dmitry Streblechenko"
wrote:
Sounds like you assare running out of 255 RPC channels limit imposed by
Exchange.
How (if at all) do you release messages in the loop?

Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"oorexxpert" wrote in message

ups.com...

Hello all. First time posting. I am using Outlook 2003 on Windows
XP. I have an application that scans emails in a particular folder.
The folder has about 900 emails in it. The program gets about half
way throught the emails and all of a sudden, it starts getting
80004005 codes when trying to get the body of an email. The program
is written inREXXinstead of VB but I don't think that matters.


Does any one have any idea of what could be wrong or how I would go
about figuring out what is wrong?


Thanks,


John


I didn't. I saw no method that would allow me to free the message.
I'm sure you right because I watch the memory usage of outlook rising
as my program runs. Not only are there many messages, but each one is
fairly big (1,000 lines). Can you tell me how to release the message?

Thanks,

John

Ads