[EMAIL PROTECTED] wrote: > procedure TMailAlert.Pop3ClientRequestDone; > begin > if (FPop.connected) and (CheckError) then begin > FPop.quit; > exit; > end; > > ... > > what could be the cause that the component is not ready after the > error ?
After sending command Quit you should receive a server response. When it's received you may either close or abort the connection yourself or wait until the server drops the connection. Anyway start next connection attempt only when you are not connected, means after SessionClosed fired. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be