the class i'm using is the one you can find at
http://www.berezniker.com/content/pages/visual-foxpro/read-pop3-mail-using-winsocki changed a couple of lines to use the object containing the activex class :
PROCEDURE INIT
If type('ofwsock') = 'O'
THIS.oSocket = oFwsock.sock.object
else
THIS.oSocket = CREATEOBJECT('mswinsock.winsock')
EndIf
ENDPROC
and in the main procedure I put
ofwsock = CreateObject('fwsock')
fwsock is a form which contains an olecontrol named sock where i load the winsock activex
>Hi don't get a real error but if I use the original code i can connect to the email server , on the other hand if i use the modified code
>i get a timeout connection message and the connection is not possible
>
>
>>What seems to be a problem? Do you get an error or what?
>>
>>>Last week I needed help because of a error message i got about licence using winsock activex in other pcs.
>>>I thought i got rid of the problem by including the winsock activex in a olecontrol but I realized that when using it in this way I cannot connect to the remote server to get the emails.
>>>What can I do ?
>>>I'm actually trying to use the "pop3emailclass...