Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 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.013 c
3-91200
sergun
2003-04-10 11:41
2003.04.28
Алиасы


6-91419
Leran2002
2003-02-28 10:40
2003.04.28
CGI+POST


7-91561
Prizrak[ppm]
2003-03-11 13:31
2003.04.28
Как можно сделать в TMemo текст разноцветным?


14-91528
passm
2003-04-10 17:07
2003.04.28
Windows XP & LPT1 привелегии пользователей ??


1-91345
Officeman
2003-04-15 17:55
2003.04.28
про Office2000 - Excel