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: SMTP Error: 10053
lyve2ryde

From: USA
Posts: 25
Member Since: 02/25/15
posted October 26, 2019 10:07 AM

I am receiving an Error Event 10053.
I am still testing with the Sample program provided with SMTP v2.13.1.
 
This Error Event is firing, and then a Progress Event is immediately firing with a "2.0.0 Service closing transmission channel".

If the remote mail server is closing the channel, why am i getting the Error Event first? And how can i avoid it? It seems like the Progress Event is delayed.

This is the last few Progress Events logged to the Debut.Print:

***********************************
On Progress:
Reply =
Operation = Send
Status = Send
Count = 316
Size = 488

***********************************
On Progress:
Reply =
Operation = Send
Status = Send
Count = 316
Size = 488

***********************************
On Progress:
Reply = 2.0.0 OK <MN2PR14MB3359AB51B09594CC21B63CC3DC640@MN2PR14MB3359.namprd14.prod.outlook.com> [Hostname=MN2PR14MB3359.namprd14.prod.outlook.com]
Operation = Send
Status = OK
Count = 0
Size = 0

Error: 10053
An established connection was aborted by the software in your host machine, possibly due to a data transmission timeout or protocol error. PowerTcp will close the connection when this error is encountered.

***********************************
On Progress:
Reply = 2.0.0 Service closing transmission channel
Operation = Logout
Status = OK
Count = 0
Size = 0

Jamie Powell (Admin)

From: Rome, NY USA
Posts: 448
Member Since: 03/13/07

Extra Support Options
Custom Application Development

posted October 30, 2019 4:14 PM

Thank you for your post.

We have tried, but are unable to reproduce your issue. If this is a TLS 1.2 connection it could be the server is immediately closing the connection without sending the close_notify. In that case, the component would receive the server's response to the Logout command, but not yet fire the progress event since it's waiting for the server to send close_notify.

If the server does not send close notify we would report the progress and the 10053 error would still be thrown by winsock because it had a pending read waiting for the close notify when the connection was closed by the server.

As the client-side there really isn't much we can do to rectify the issue.

Please send an email to support@dart.com, referencing this post if you have additional questions.

All the best,
Jamie
lyve2ryde

From: USA
Posts: 25
Member Since: 02/25/15
posted October 31, 2019 10:15 AM

Thanks Jamie,
I am testing with 3 different mail servers, and one of them is TLS 1.2 encryption. I'm not sure now if that is the one that was resulting in the error.

I basically added some progress steps, and if my step is > x, then i just ignore the Error 10053.

Thanks again,
Tim Snelling
Reply | PowerTCP Mail for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX