Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
OstroSoft SMTP Component
 OstroSoft Forums : OstroSoft SMTP Component
Subject Topic: No timeout when port is not SMTP Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
skippy76
Newbie
Newbie


Joined: 02 January 2010
Location: United States
Online Status: Offline
Posts: 4
Posted: 16 January 2010 at 10:59am | IP Logged Quote skippy76

If you attempt to connect to a Non SMTP port, e.g. the TLS port of Gmail (smtp.gmail.com on port 465), the component never times out the connection.

Therefore, I believe that there either needs to:

a) Implement a ConnectionTimeout setting that expires if the server does not get the 220 response from the SMTP server

or

b)  The overall connection timeout that exists should disconnect if the 220 is not received.

personally, I believe that (a) should be impelemented.  This is the way most client / server interactions are managed and indeed other SMTP components also function. 

Back to Top View skippy76's Profile Search for other posts by skippy76
 
skippy76
Newbie
Newbie


Joined: 02 January 2010
Location: United States
Online Status: Offline
Posts: 4
Posted: 30 January 2010 at 9:22am | IP Logged Quote skippy76

bump

Back to Top View skippy76's Profile Search for other posts by skippy76
 
igor
Admin Group
Admin Group


Joined: 20 July 2005
Location: United States
Online Status: Offline
Posts: 252
Posted: 16 February 2010 at 11:38am | IP Logged Quote igor

Connection timeout works the same, regardless whether specified port is standard SMTP (25) or not. It depends on Winsock timeout implementation for a particular OS/platform.

Also, please keep in mind, that your antivirus, firewall or any other packet-filtering software may interfere: there are many implementations that don't close socket connection properly when blocking it, leaving socket "hanging" in undefined state. Socket (connection) timeout will not work in this case.
Back to Top View igor's Profile Search for other posts by igor Visit igor's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.92
Copyright ©2001-2004 Web Wiz Guide