Вниз
Скачать: CL | DM;

IdPOP31: как получить attachment?   Найти похожие ветки 

 
Ocean ©   (2003-03-04 12:14) [0]

Читаю сообщение:
IdPOP31.Retrieve(Index,IdMessage1);

Не поможете примером, как получить единственный attachment?


 
S@shka ©   (2003-03-04 14:38) [1]

var
Msg : TIdMessage;
...
POP.Retrieve(MsgNumber, Msg);
for intIndex := 0 to Pred(Msg.MessageParts.Count) do
begin
if (Msg.MessageParts.Items[intIndex] is TIdAttachment) then
begin //general attachment
...
end
else
begin //body text
if Msg.MessageParts.Items[intIndex] is TIdText then
begin
...
end
end;
end;


 
Ocean ©   (2003-03-05 09:58) [2]

Спасибо!




Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.011 c
7-91567
DJ_Sedoy
2002-12-31 01:29
2003.04.28
Скрыть программу от Ctrl-Alt-Del в XP


1-91391
Jam
2003-04-16 10:18
2003.04.28
Слияние файлов


1-91280
Tornado
2003-04-17 12:06
2003.04.28
дата создания файла


8-91413
Сергей
2003-01-25 13:35
2003.04.28
Работа с картинками


1-91253
filin
2003-04-16 00:05
2003.04.28
oemtochar + WinNT




   Наверх