Toon posts:

[Delphi] Indy + POP3

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik heb een probleempje bij het gebruiken van de Indy componenten om email op te halen van een server en op schijf op te slaan als een bestand. Bij een multipart MIME bericht lijken de Indy componenten het te vertikken om het tekstgedeelte, dus het stukje dat 7bits encoded is opgeslagen in het berichtje, op te slaan op schijf. De bijlagen, die er als base64 bij zitten, blijven wel intact.

Hier is de engelse tekst die ik naar de FAQ van Indy heb gestuurd:

I think I've got a question for the Indy FAQ, I'm using Indy 9.0.2 and when I'm trying to receive messages from a POP3 server, it works correctly. But when I'm saving the file to disk with TIdMessage.SaveToFile, Indy seems to forget something.

For example, a multipart MIME-encoded message, with two parts: part 1; 7 bit; TIdText, part 2; base64; TIdAttachment. I can read both these parts correctly after I received them from the server. But when I try to save the complete message to a file with TIdMessage.SaveToFile, and open that file in another program by using TIdMessage.LoadFromFile, the body text of the message seems to be gone, while the base64 attachment still is in the file. When I try to get the body text, I just get an empty string.

Is there something special you have to do in order to get your files correctly saved to disk?

Verwijderd

Topicstarter
Is al opgelost. Als er ooit nog eens iemand geïnteresseerd is in de oplossing, kan hij/zij het mij vragen.

  • jelmervos
  • Registratie: Oktober 2000
  • Niet online

jelmervos

Simple user

Op maandag 29 oktober 2001 18:35 schreef _JWB_ het volgende:
Is al opgelost. Als er ooit nog eens iemand geïnteresseerd is in de oplossing, kan hij/zij het mij vragen.
Gewoon posten man. :)

"The shell stopped unexpectedly and Explorer.exe was restarted."