Autor Beitrag
Fischman
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 137

Win XP
D3 Prof / D7
BeitragVerfasst: Do 22.01.04 09:32 
Hallo Leute,
wer kann mir da mal weiter helfen.Wie kann ich mit idpop3 meine Mail abrufen.Also kontakt zum POP3-Server auf nehmen das geht ja schon.
Jetzt sollen die Eingegangen Mail in der ListView angezeigt werden.

Gruß
Uwe
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Do 22.01.04 14:16 
hast du dir schonmal die demos files zu den indy kompoenten runtergeladen ?? da wird das schön gezeigt !

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Erzengel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 99

Win 2000, WinXP
Delphi 5 Enterprise
BeitragVerfasst: Do 22.01.04 14:19 
Verbindung aufbauen

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
procedure TForm1.Button1Click(Sender: TObject);
begin

  if NMPOP31.Connected then
     NMPOP31.Disconnect
   else
   begin
    NMPOP31.Host := Edit1.Text;
    NMPOP31.UserID := Edit2.Text;
    NMPOP31.Password := Edit3.Text;
    NMPOP31.DeleteOnRead := Checkbox1.Checked;
    NMPOP31.Connect;
    end;
end;



Mail anschauen

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
procedure TForm1.Button2Click(Sender: TObject);

begin

  NMPOP31.GetMailMessage(StrToInt(Edit4.Text));
  Edit5.Text := NMPOP31.MailMessage.From;
  Edit6.Text := NMPOP31.MailMessage.Subject;
  Memo1.Lines.Assign(NMPOP31.MailMessage.Body);

end;


Tchja und mit dem Rest mußt du dich quällen :wink:

_________________
Ein Kreis ist ein rundes Quadrat
BungeeBug
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 901



BeitragVerfasst: Do 22.01.04 15:00 
@Erzengel - schön das du die Frage gelesen hast :) Er hat nach Indys gefragt und nich nach den Fastnet Komponenten.

Als Antwort kann ich auch nur auf die Demo verweisen. Du kannst auch einfach mal suchen Suche in: Delphi-Forum, Delphi-Library IDPOP3 MAILS ABFRAGEN LISTVIEW oder Suche in der Delphi-PRAXiS IDPOP3 MAILS ABFRAGEN LISTVIEW
Fischman Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 137

Win XP
D3 Prof / D7
BeitragVerfasst: Do 22.01.04 18:24 
Hallo,
erstmal schönen Dank für die Antworten.Da werde ich wohl mir die Demos von Indy runterladen,mal sehen ob es mir weiter hilft.

Gruß
Uwe