Autor Beitrag
Dusty
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 62

Windows XP
Delphi 5 Enterprise
BeitragVerfasst: Do 01.05.03 17:24 
Um an den Body einer Email zu gelangen, rufe ich

IdPOP31.Retrieve(mailno,idMessage1);

auf. Wenn das eine grosse Email ist, dann dauert das ganz schön lange, bis sie da ist. Wie kann ich nur einen Teil, zB nur die ersten 10 Zeilen des Body lesen? Geht das?
Moritz M.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1672



BeitragVerfasst: Do 01.05.03 18:15 
An sich sollte das nicht gehen. Du könntest natürlich nur den Header auslesen, das wäre dann halt nur der Betreff als Vorschau.
Dusty Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 62

Windows XP
Delphi 5 Enterprise
BeitragVerfasst: Do 01.05.03 19:07 
Nein, nein, ich will nicht den Header, ich will ein Stückchen Body :-)
Ist mir schon klar, dass das mal wieder eine "Spezial-Idee" ist.
Moritz M.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1672



BeitragVerfasst: Fr 02.05.03 18:33 
*gg* Spezial-Idee. Das Wort muss ich mir merken.

Okok, du musst, falls du mit Indy arbeitest, den ganzen body holen.
Dusty Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 62

Windows XP
Delphi 5 Enterprise
BeitragVerfasst: So 04.05.03 09:20 
Geht denn Body ohne Attachment? Das wäre auch schon nicht schlecht!

Abgesehen davon kann mir keiner sagen, wie ich einen base64-codierten Body lesen kann :-(

Britta (die mit den Spezial-Ideen ;-))