Autor Beitrag
Arbengie
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 66



BeitragVerfasst: Mi 30.03.11 16:17 
Hallo,
ich versuche gerade mit Delphi auf einen Pop3 Server zuzugreifen.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
  pop3 := TIdPop3.Create(frmMain);
  pop3.Host := 'pop3.live.com';
  pop3.Port := 995;
  pop3.UserId := 'XXX@live.de';
  pop3.Password := 'XXX';
  pop3.Connect;


Doch es komm jedesmal ein Laufzeitfehler, wenn ich zum Pop3 Server connecten will, obwohl alle Daten richtig sein sollten.

Zitat:

Socket Error # 10054 Connection reset by peer.


Kann mir wer helfen? :)
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10183
Erhaltene Danke: 1256

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mi 30.03.11 16:52 
Moin!

Die Fehlermeldung bedeutet grob übersetzt: Die Gegenstelle hat aufgelegt.

Port 995 sieht nach SSL aus. :gruebel: "Normales" POP sollte über 25 laufen. :idea: Also entweder das Indy-Zeugs mit SSL verheiraten :? oder Port wechseln. :nixweiss:

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
Arbengie Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 66



BeitragVerfasst: Do 31.03.11 15:03 
Mit Port 25 passiert das selbe Problem.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19339
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Do 31.03.11 16:55 
Da Windows Live Mail Pop3 mit SSL benutzt, kann das auch nicht klappen. Der Port war schon korrekt, nur funktioniert das auch nur, wenn du SSL benutzt. Unverschlüsselte Anfragen wie deine werden abgelehnt.
Arbengie Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 66



BeitragVerfasst: Do 31.03.11 17:31 
Wie genau muss ich SSL denn verwenden, gibts da eine Indy Komponent oder wie läuft das?
Thom
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 70
Erhaltene Danke: 5


Delphi 10 Seattle Prof.
BeitragVerfasst: Do 31.03.11 17:43 
TIdSSLIOHandlerSocketOpenSSL auf das Formular packen und in der TIdPOP3-Komponente als IOHandler eintragen.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19339
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Do 31.03.11 17:59 
Außerdem werden die SLL-DLLs benötigt, die es bei im Paket gibt (OpenSLL eben).
Thom
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 70
Erhaltene Danke: 5


Delphi 10 Seattle Prof.
BeitragVerfasst: Do 31.03.11 18:10 
Logisch. Und eine Delphi IDE zum compilieren... :zwinker: