<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2716.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Correct, server contains "mailsever:110". 
</FONT></DIV>
<DIV><FONT face=Arial><FONT size=2>I logged the results to a field but it came 
up empty.</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2>The sysError is 0 which I donīt know what it 
means.</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>The actual code as it looks currently is 
below.</FONT></DIV>
<DIV><FONT face=Arial size=2>It does not matter if I change to a different mail 
server.</FONT></DIV>
<DIV><FONT face=Arial><FONT size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2>on revPOP_connect<BR>  # Description..: 
connects to the mail account<BR>  # Parameter...: "server, user, 
losen"<BR>  set socketTimeoutInterval to 1000<BR>  put item 1 of 
param(1) & ":110" into server<BR>  put item 2 of param(1) into 
user<BR>  put item 3 of param(1) into losen<BR>  open socket 
server<BR>  read from socket server until linefeed<BR>  if 
offset("+OK",it) is zero then</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2>     answer the 
sysError<BR>     close socket 
server<BR>     answer "No connection!"<BR>   
else<BR>     put "Connected to" && server & 
return into field id 1004<BR>     write "USER" && 
user to socket server<BR>     read from socket server until 
linefeed<BR>     put return & it after field id 
1004<BR>  end if<BR>end revPOP_connect<BR></DIV></FONT></FONT>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2>Larry</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>>> I need 
a bit of assistance on sockets. Trying something like<BR>>> <BR>>> 
open socket "mailserver:110"<BR>>> read from socket server until 
linefeed<BR>>> answer it<BR>>> close socket 
"mailserver:110"<BR>>><BR></DIV></FONT></FONT>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>>I assume 
server contains "mailserver:110".<BR><BR>>You can set up some 
diagnostics.  After each socket command, log <BR>>the result, the 
sysError, and the openSockets to a field.  Make <BR>>handlers for 
socketError and socketClosed and log those calls, <BR>>too.  You might 
as well log the data from read while you are at it.<BR><BR>>This can give you 
a "heads up" that might indicate the problem or <BR>>provide details to send 
to the list.<BR><BR>>Dar Scott</FONT><BR><BR></DIV></FONT></BODY></HTML>