我 我爱PASCAL Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-30 #3 INDY没有用过,用过DELPHI5的发的时侯是有一段时间,可设置TIMEOUT属性。
P Pearl. Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-30 #4 简单呀 声明一个TThread然后在execute里直接调用form上的indy控件的发送方法(不需要同步, indy控件本身是线程安全的)
B bluely Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-31 #5 type TSendThread = class(TThread) private protected procedure Execute; override; public end procedure TQueryThread.Execute; var i: integer; begin while not Terminateddo begin //在这里加入你的发送邮件代码 end; end;
type TSendThread = class(TThread) private protected procedure Execute; override; public end procedure TQueryThread.Execute; var i: integer; begin while not Terminateddo begin //在这里加入你的发送邮件代码 end; end;