On Jan 7, 2008, at 20:06, Jonathan M. Freedman wrote: > smtpCaribou->Host = "[EMAIL PROTECTED]" ; > smtpCaribou->Port = 25 ; > smtpCaribou->Connect() ; > > and get a smtp component not ready error message.
Are you sure you get the error on the Connect() call, or on a subsequent method call? Keep in mind that the SmtpCli component is asynchronous, which means that it doesn't wait for the method to finish, but returns immediately. So, you cannot call another method right after Connect because the component is not connected yet. You have to use the events provided to call the next method. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- 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