for(int i = 0; i < lb_MailList->Items->Count ; i++){
new SendMailThread(s_EmailFrom,frm_Mail->suie_MailTopic->Text,frm_Mail->suim_TextContent->Lines,lb_MailList->Items->Strings[i],frm_Mail->s_AttachMentFileName1,frm_Mail->s_AttachMentFileName2,"","",s_SMTPServer,s_User,s_Pass,false);
}
ShowMessage("执行完毕!");
// Important: Methods and properties of objects in VCL can only be
// used in a method called using Synchronize, for example:
//
// Synchronize(UpdateCaption);
//
// where UpdateCaption could look like:
//
// void __fastcall SendMailThread::UpdateCaption()
// {
// Form1->Caption = "Updated in a thread";
// }
//---------------------------------------------------------------------------