Thank you. You were really helpful.
I am trying to use a winsock control to send e-mails from FoxPro using SMTP Relay service.
It works well with FoxPro V 6.0. But I have some trouble with V 5.0. I get an 'Invalid Callee' error.
With ThisForm
.oWinSock.Protocol = 0
.oWinsock.RemoteHost = "192.20.42.9"
.oWinsock.LocalPort = 25
.oWinsock.RemotePort = 25
.oWinsock.Object.Connect
EndWith
I found an article about this error on the Microsoft website.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfoxtk00/html/ft00b12.aspThanks again
Ria