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

Где мне найти в IdPOP3 (Indy) приартаченный к письму файл?   Найти похожие ветки 

← →
Behemoth ©   (2003-05-14 15:38) [0]

Обыскался...


← →
Behemoth ©   (2003-05-15 10:59) [1]

Неужто никто почту не принимал в Дельфи 7. А? Неверю...


← →
vadfe   (2003-05-15 17:25) [2]

for intIndex := 0 to Pred(Msgemail.MessageParts.Count) do
begin
if (Msgemail.MessageParts.Items[intIndex] is TIdAttachment) then
begin //general attachment
TIdAttachment(Msgemail.MessageParts.Items[intIndex]).SaveToFile(TIdAttachment(Msgemail.MessageParts.Items[intIndex]).FileName);
end
else
begin //body text
if Msgemail.MessageParts.Items[intIndex] is TIdText then
begin
Memo1.Lines.AddStrings(TIdText(Msgemail.MessageParts.Items[intIndex]).Body);
end;
end;
end;



А как выяснить кодировку письма и соостветственно его прочитать?
А то Subject выглядит примерно так ==koi8-r=?НЕВРАрРА



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

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



Память: 0.45 MB
Время: 0.012 c
1-67800
Dale
2003-07-09 10:12
2003.07.21
MDI - интерфейс


14-67959
MalkoLinge
2003-07-03 11:17
2003.07.21
Древовидная сеть !


3-67658
Yurko
2003-06-25 14:46
2003.07.21
Picture (mask)


14-68003
IDDQD
2003-07-03 15:55
2003.07.21
DBComboBox


11-67747
SPeller
2002-11-17 13:36
2003.07.21
DesignTime отрисовка




   Наверх