Indy i dodawanie zalacznika

0

wymacilem kodzik do maili na indy... wszystko ladnie smiga i maile sie wysylaja. chcialbym tylko teraz dodac zalacznik(plik tekstowy). gdzie i jak to zrobic ?

IdMessage1.Body.Append('IP');
  IdMessage1.From.name := '['+kto+']'+'  '+nazwa;
  IdMessage1.From.Address := '[email protected]';
  IdMessage1.Recipients.EMailAddresses := '[email protected]';
  IdMessage1.Subject := IP+'  '+'['+PChar(User)+']';

  iDSMTP1.AuthenticationType:=atlogin;
  IdSMTP1.UserName := '[email protected]';
  IdSMTP1.Password :=  'mojehaslo';
  IdSMTP1.Host :=  'smtp.wp.pl';
  IdSMTP1.Connect;
  try
    IdSMTP1.Send(IdMessage1);
  finally
    IdSMTP1.Disconnect;
  end;
0

juz po problemie :)

1 użytkowników online, w tym zalogowanych: 0, gości: 1