| Dart Home | PowerTCP Mail for ActiveX | Custom Development | Reply | PowerTCP Mail for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Mail for ActiveX Topic: How can i avoid an abort because of an Timeout-Error 100060? |
| JuergenSchaetzke From: Lampertheim, Germany Posts: 2 Member Since: 09/25/02 |
posted September 25, 2002 11:50 AM Hello, I have a problem with the Error handling. When the Pop1.Login failed, an Error 10060 (Timeout) is returning How can i avoid the abort? I am using the Event Pop1_Error and Pop1_State. After leaving Pop1_State the program aborted with error 10060. I have tried to use err.clear but this does not help. Is it perhaps a problem when the Login is on a bas-Modul. On the form frmmail: Private Sub PopServer_Error(ByVal Error As DartMailCtl.ErrorConstants, ByVal Description As String) err.Clear Fehler = True End Sub On the Bas-Modul: On Error GoTo Errorhandler frmmail.PopServer.Messages.Clear frmmail.PopServer.TimeOut = Time_Out frmmail.PopServer.Login strServerEin, strKonto, strPassword with best regards Jürgen Schaetzke |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted September 25, 2002 4:04 PM Hi, I am not sure what you are asking. Are you saying you are getting ab Abort error (11103), in addition to the Timeout error (10060)? If the connection times out, it is going to be closed down. This cannot be prevented. But when I handle this error, I do not see an abort error as well. Is it different for you? Thanks, -ken |
| JuergenSchaetzke From: Lampertheim, Germany Posts: 2 Member Since: 09/25/02 |
posted September 26, 2002 9:19 AM Hi, thank you for your answer. The only error is 10060. It is bad, when the program is aborting,because my program would try a new connection after a given time and the program has to run until the admin cloeses it. I'm using the newest OCX of Mail Tool. with best regards Jürgen Schaetzke |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted September 26, 2002 4:46 PM Hi, You should be able to handle the error, and then do whatever you want after that (including trying a new connection, or not). Please see our samples for examples. If you require assistance with this beyond the sample demonstrations, I recommend considering one of our paid support options. -ken |
| Reply | PowerTCP Mail for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|