Текущий архив: 2003.04.28;
Скачать: 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 вся ветка
Текущий архив: 2003.04.28;
Скачать: CL | DM;
Память: 0.46 MB
Время: 0.019 c