Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jul : indy 9 to 10

www.cryer.info
Managed Newsgroup Archive

indy 9 to 10

Subject:indy 9 to 10
Posted by:"Marcelo" (mcgal-n-o-s-p-a-m-ig.com.br)
Date:Tue, 11 Jul 2006 13:33:21

need some help.
i used indy 9.. but now i want the code working in indy 10..


i used this timeout inside connect... in indy9
===(old code indy 9)
idSMTP1.Connect(10000);
idSMTP1.send(idmessage1);


====(new code indy 10)
is this the correct way in indy10 ?


idSMTP1.connecttimeout(10000);
idsmtp1.connect;

idSMTP1.readtimeout(10000);
idsmtp1.send(idmessage1);

Replies:

www.cryer.info
Managed Newsgroup Archive