T
takdick
Unregistered / Unconfirmed
GUEST, unregistred user!
我想做一程序telnet到pop3 server并在連線後自動登錄,但為何失敗,請幫我看看.
procedure TForm1.TelnetConnected(Sender: TObject);
var
s:string;
i:integer;
begin
status.SimpleText:='Connected';
s:='user user18' ;
for i := 1 to length(s) do
telnet.SendCh(s);
telnet.SendCh(#13);
s:='pass 123456';
telnet.SendCh(s);
telnet.SendCh(#13);
end;
procedure TForm1.TelnetConnected(Sender: TObject);
var
s:string;
i:integer;
begin
status.SimpleText:='Connected';
s:='user user18' ;
for i := 1 to length(s) do
telnet.SendCh(s);
telnet.SendCh(#13);
s:='pass 123456';
telnet.SendCh(s);
telnet.SendCh(#13);
end;