POP3 or IMAP

Sarah sarahr at genesearch.com.au
Sun Feb 16 17:22:01 EST 2003


Yes, I have. What exactly is the problem? Are you making the connection 
once and then not being able to re-make it a second time? if so, it 
sounds like the socket is not being closed correctly. Check your 
variables to make sure that the script that closes the socket is 
closing the correct port and that it is actually being used. Also if 
you get an error during connection, make sure that the socket is closed 
properly.

To make absolutely sure that any open sockets have been closed, you can 
always run a script like this:

   repeat until the openSockets  is empty
     close socket line 1 of the openSockets
   end repeat

although you need to be sure that no other part of your program might 
legitimately have an open socket at the same time.

Let me know if this doesn't help, or send me your stack off-list and 
I'll be happy to see what I can do.

Cheers,
Sarah


On Monday, February 17, 2003, at 05:25  am, Mike Doub wrote:

> Has anyone developed any code to get mail via POP3?   I seem to be 
> having
> problems reopening a socket.
>
> Thanks
>    Mike
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>





More information about the use-livecode mailing list