Autor Beitrag
schakal242
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 33

Win XP Prof.
D6 Prof
BeitragVerfasst: Mi 07.01.04 09:49 
Hallo,

wenn ich eine Mail abrufe und versuche sie mit SaveToFile zu speichern bekomme ich diese Fehlermeldung:

Format '%p' ungültig oder nicht kompatibel mit Argument.

Ich benutze D6 Prof. und XP Prof., Indy 9.00.14 .

Hier noch ein Codeausschnitt:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
procedure TForm1.Button1Click(Sender: TObject);
begin
 IdPOP31.Host := 'pop.gmx.net';
 IdPOP31.Username := 'irgendwer@gmx.de';
 IdPOP31.Password := 'xxxyyyy';
 IdPOP31.Connect;
 If IdPOP31.CheckMessages > 0 Then
  Begin
   IdPOP31.Retrieve(1, IdMessage1);
   If SaveDialog1.Execute Then
    IdMessage1.SaveToFile(SaveDialog1.Filename);
  End;
 IdPOP31.Disconnect;
end;


Moderiert von user profile iconPeter Lustig: Delphi-Tags hinzugefügt

_________________
Wenn Du keins hast, aber eins brauchst, wirst Du es merken...