Login  
Search All Forums
Dart Home | PowerTCP Mail for ActiveX | Custom Development Reply | PowerTCP Mail for ActiveX Topics | Forums   
AuthorForum: PowerTCP Mail for ActiveX
Topic: 100% CPU while downloading a message.
shay_assulin
shay_assulin@icomverse.com

From: Tel-Aviv, Israel
Posts: 17
Member Since: 05/26/02
posted January 21, 2004 3:43 AM

Hi,

I am trying to download a message using the Command method of the IMAP control object. This call consumes 100% of CPU time and returns after 20-40 seconds which is bad.
Is there any way i can download the message and avoid this situation of 100% CPU for long time.

The message i am trying to download contgains 2 mpg attachments (2MB each) and the command i send is: UID FETCH 19 (RFC822)

Thanks.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 21, 2004 8:42 AM

Why don't you just use the Get method? I'm not sure if the Command method has the necessary idle loops in place to allow yielding to the CPU.

shay_assulin
shay_assulin@icomverse.com

From: Tel-Aviv, Israel
Posts: 17
Member Since: 05/26/02
posted January 21, 2004 9:23 AM

I wanted to avoid sending LIST to the server - it seems that i do not have too much choices....


10X
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 21, 2004 9:36 AM

If you know the commands and you want to write something that low-level, you should just use the Winsock Tool (TCP control) to write a very simple IMAP client.
Reply | PowerTCP Mail for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX