Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

«Socket readln aborted»

Status
Not open for further replies.

zlaja

Programmer
Oct 1, 2001
14
CA
I would like to send an e-mail by SMTP to multiple people at once. There is my code:

SMTPenvMsg.Host := '10.10.1.20';
SMTPenvMsg.Port := 25;
SMTPenvMsg.TimeOut := 30;

if SMTPenvMsg.Connected=false then
SMTPenvMsg.Connect;

SMTPenvMsg.PostMessage.FromAddress := msgFrom;
SMTPENVmSG.PostMessage.ToAddress.Add(msgTo);
SMTPenvMsg.PostMessage.Subject := sj;
SMTPenvMsg.PostMessage.Body.Assign(sl);
SMTPenvMsg.SendMail;
sl.Free;
SMTPenvMsg.Disconnect;

Somtimes it works, sometimes a received this message:
«Socket readln aborted»??? What means this message?

Can someone helps me?
Thanks for any help!



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top