After retrieving email add
loMail = NULL
>
>I've have the pop3emailclass working and am happy with it, thanks.
>
>I do have a problem though; I cant get the connection to deconnect.
>
>In the screen destroy method I have the following code:
>
>IF TYPE('loMail')='O' AND loMail.lConnected
> loMail.destroy()
>ENDIF
>
>Get "Unknown member OSOCKET" for an error. Get same error when I Quit Foxpro without calling destroy!
>
>Any ideas?
--sb--