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: locking POP account
kabal808

From: BKK, Thailand
Posts: 3
Member Since: 06/28/04
posted June 28, 2004 5:02 AM

Hi,

I have a client using PowerTCP Mail that iterates through messages on a POP server. I have a button that interupts this process. That button calls the following code:

pop1.Connection.Close();

Sometimes when I click this I get an exception and thereafter cannot log into the POP account for an hour or two, it has become locked. What is causing this locking? Is my code bad? DO I need to call something else?

Thanks
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted June 28, 2004 9:07 AM

What's the exception? Also, I need details on how to duplicate this. Does it only happen on one type of server? Does it happen with our sample app?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted June 28, 2004 9:27 AM

Also, for future reference, this is actually the Mail Tool forum. You are using Mail for .NET.

Please post in the Mail for .NET forum if you need to start another thread.
kabal808

From: BKK, Thailand
Posts: 3
Member Since: 06/28/04
posted June 29, 2004 12:43 AM

Sorry about the wrong forum. I keep asking the developer to give the execption, but I think he's still locked out. I'll post it when I get it. The mail server is on a Solaris machine that's having the problem. I know it doesn't happen on an exchange mail server. It also happened with the sample POP application. I'm not sure if the exception is the same, but when I try to "abort" in the middle of the app getting mail, it happens.
I know it's not much to go on, but if you have any
ideas let me know
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted June 29, 2004 8:52 AM

If you abort during retrieval, you are killing the connection. On some servers this will cause the mailbox to be locked. This is usually 5-10 minutes though, not hours.
Reply | PowerTCP Mail for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX