<!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 dont 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>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2>on revPOP_connect<BR>&nbsp; # Description..: 
connects to the mail account<BR>&nbsp; # Parameter...: "server, user, 
losen"<BR>&nbsp; set socketTimeoutInterval to 1000<BR>&nbsp; put item 1 of 
param(1) &amp; ":110" into server<BR>&nbsp; put item 2 of param(1) into 
user<BR>&nbsp; put item 3 of param(1) into losen<BR>&nbsp; open socket 
server<BR>&nbsp; read from socket server until linefeed<BR>&nbsp; if 
offset("+OK",it) is zero then</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp; answer the 
sysError<BR>&nbsp;&nbsp;&nbsp;&nbsp; close socket 
server<BR>&nbsp;&nbsp;&nbsp;&nbsp; answer "No connection!"<BR>&nbsp;&nbsp; 
else<BR>&nbsp;&nbsp;&nbsp;&nbsp; put "Connected to" &amp;&amp; server &amp; 
return into field id 1004<BR>&nbsp;&nbsp;&nbsp;&nbsp; write "USER" &amp;&amp; 
user to socket server<BR>&nbsp;&nbsp;&nbsp;&nbsp; read from socket server until 
linefeed<BR>&nbsp;&nbsp;&nbsp;&nbsp; put return &amp; it after field id 
1004<BR>&nbsp; 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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>&gt;&gt; I need 
a bit of assistance on sockets. Trying something like<BR>&gt;&gt; <BR>&gt;&gt; 
open socket "mailserver:110"<BR>&gt;&gt; read from socket server until 
linefeed<BR>&gt;&gt; answer it<BR>&gt;&gt; close socket 
"mailserver:110"<BR>&gt;&gt;<BR></DIV></FONT></FONT>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>&gt;I assume 
server contains "mailserver:110".<BR><BR>&gt;You can set up some 
diagnostics.&nbsp; After each socket command, log <BR>&gt;the result, the 
sysError, and the openSockets to a field.&nbsp; Make <BR>&gt;handlers for 
socketError and socketClosed and log those calls, <BR>&gt;too.&nbsp; You might 
as well log the data from read while you are at it.<BR><BR>&gt;This can give you 
a "heads up" that might indicate the problem or <BR>&gt;provide details to send 
to the list.<BR><BR>&gt;Dar Scott</FONT><BR><BR></DIV></FONT></BODY></HTML>