I couldn't get the connect method to work either, so I build a VB wrapper for this. It's a very simple bit of code, and I have it on the downloads section of UT. Check out "Sending SMTP mail from VFP" in the recent entries section. There you will find the VB source code for the control. All you need to do is compile it to an OCX.
Phillip
>I try to use Winsock activex control, but something don't work...(connect method don't initiate a connection in client application)
>Please tell me how to use this control in VFP 6
>
>Thanks in advance
>
>Dorel Tugui
"D'OH!" --Homer Simpson