| Dart Home | PowerTCP Mail for ActiveX | Custom Development | Reply | PowerTCP Mail for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Mail for ActiveX Topic: Get(DartMail::msgPreview) issues... |
| User631 Posts: 4 Member Since: 07/12/01 |
posted May 2, 2007 4:42 PM We are having an issue when calling the following line of code: pPop->Get(DartMail::msgPreview, _bstr_t(), NULL); ----------------- The symptoms are: 1.) Most of the time (95-99%) this call works without any problems, and completes in a second or two. (good) 2.) However, sometimes this call takes between 30 seconds and 2 minutes to complete. 3.) And sometimes it gets a pop error 11101 (A error occured in the protocol.). ----------------- This is in an application that, every one minute, pulls the email subjects from a list of users email accounts. In this case it is an Exchange server. One of the users has 1400 messages in their account, and it takes 30 seconds sometimes, but also up to 2 minutes other times, to complete the GET call. Users with only 10 messages don't typically have the delay issue, but on occasion it will take up to 30 seconds. ----------------- I'm being requested to eliminate the pop error, and to reduce the delay issues with the GET call. (as the user list could be between 10 - 1000 users) I would be gratefull for any input on what could cause these kind of issues, or any other opinions on this. -- When I insert a Trace command, the application crashes. I can easily provide a code sample, and log output if needed. Thanks, |
| Arjun From: Rome, NY, USA Posts: 137 Member Since: 09/17/07 |
posted February 4, 2008 4:56 PM Hello, With regards to the query I would like to inform you that the time taken to get the message would depend on the size of messages being retrieved, the number of messages, resources available on the machine etc. For the Pop error 11101, I would suggest you to try using the Trace method to create a log of the session. The sample shows how to create a trace log of the communication. After you get the error look at the last few lines of the log and see what the last response from the server was. When you try the same with the samples provided, do you see the same behavior? Have a great day. Regards, Arjun |
| Reply | PowerTCP Mail for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|