
25.08.2011, 01:18
|
 |
.
|
|
Регистрация: 18.05.2011
Адрес: Омск
Сообщения: 3,970
Версия Delphi: 3,5,7,10,12,XE2
Репутация: выкл
|
|
Попробуй так:
Код:
idsmtp1.Connect(500);
try
if idsmtp1.Connected then
try
IdSMTP1.Send(IdMessage1);
except
IdSMTP1.Disconnect();
end;
finally
IdSMTP1.Disconnect();
end;
__________________
Je venus de nulle part
55.026263 с.ш., 73.397636 в.д.
|