Delphi-PRAXiS
Seite 1 von 2  1 2      

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   Problem mit email abholen (https://www.delphipraxis.net/180490-problem-mit-email-abholen.html)

Natcree 23. Mai 2014 10:15

Problem mit email abholen
 
Hallo möchte über mein Programm emails abholen hier mal der erste teil meines codes

Delphi-Quellcode:
procedure TForm1.Button1Click(Sender: TObject);
begin
  if not IdPOP31.Connected then
  begin
    IdPOP31.Host := 'pop.1und1.de';
    IdPOP31.Port := 110;
    IdPOP31.Username := '****@**********.de';
    IdPOP31.Password := '**********';
    IdPOP31.Connect;
  end
  else
    IdPOP31.Disconnect;
end;
er sagt mir nur Connection closed Gracefully stellt aber keine verbindung her

Sherlock 23. Mai 2014 10:20

AW: Problem mit email abholen
 
Hast Du SSL aktiviert?

Sherlock

Natcree 23. Mai 2014 10:21

AW: Problem mit email abholen
 
bei 1und1 ja im programm selber nicht wie mache ich das?

mkinzler 23. Mai 2014 10:26

AW: Problem mit email abholen
 
Schau mal nach idPop3.AuthType, idPop3.UseTLS. GGf, mußt du dann noch den Port anpassen.

DeddyH 23. Mai 2014 10:28

AW: Problem mit email abholen
 
Und die entsprechenden DLLs braucht man auch, oder hat sich das mittlerweile geändert (ich benutze kein Indy)?

Natcree 23. Mai 2014 10:31

AW: Problem mit email abholen
 
unter authtype hat er kein usetls

baumina 23. Mai 2014 10:42

AW: Problem mit email abholen
 
Welche Indy-Version verwendest du?

Uwe Raabe 23. Mai 2014 10:43

AW: Problem mit email abholen
 
Vielleicht steht hier ja was brauchbares drin: http://www.delphipraxis.net/131165-i...d-ssl-wie.html

Natcree 23. Mai 2014 10:54

AW: Problem mit email abholen
 
Habe den code jetzt wie folgt geändert

Delphi-Quellcode:
procedure TForm1.Button1Click(Sender: TObject);
begin
  if not IdPOP31.Connected then
  begin
    IdPOP31.Host := 'pop.1und1.de';
    IdPOP31.Port := 995;
    IdPOP31.UseTLS := utUseImplicitTLS;
    IdPOP31.Username := '****@**********.de';
    IdPOP31.Password := '**********';
    IdPOP31.Connect;
  end
  else
    IdPOP31.Disconnect;
end;
und noch zusätzlic den idssliohandlersocketopenssl auf die form gelegt jetzt sagt er was anderes
could not load ssl library

mkinzler 23. Mai 2014 11:06

AW: Problem mit email abholen
 
Dann fehlt ihm die OpenSSl Dll


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:24 Uhr.
Seite 1 von 2  1 2      

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz