Autor Beitrag
Akut-Programming
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 69

WinXP, Win2000
Delphi 7 Enterprise, Delphi 5 Prof.
BeitragVerfasst: Di 26.08.03 15:37 
Hey Leude!

Bin mal wieder am verzweifeln. :oops: Suche schon den halben Tag danach, wie ich mit Hilfe der Indykomponenten die MailID
der aktuellen Mail bekomme?? Im Moment nutze ich die
pop3, smtp und Message Komponente von Indy. :eyecrazy:

Ich will anhand dieser MailID sagen können welche Mail ich mir grad anschauen will. Hat da jemand ne Ahnung, bzw. weiß wie´s
geht?? Wer euch echt MEGAAAAAAAAAAAAAAAAAAA dankbar!! :lol:

_________________
Gruß,
Akut - Programming
Akut-Programming Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 69

WinXP, Win2000
Delphi 7 Enterprise, Delphi 5 Prof.
BeitragVerfasst: Di 26.08.03 19:47 
Hat sich erledigt! :oops: War dann doch leichter als gedacht. :D

_________________
Gruß,
Akut - Programming
Ex0rzist
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 550

Win XP Prof.
Mandrake 10.0

D6
BeitragVerfasst: Mi 27.08.03 02:14 
Wenn du eine Lösung gefunden hast, dann poste sie doch bitte für die Nachwelt. :wink:

_________________
If accidentally read, induce vomitting.
Akut-Programming Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 69

WinXP, Win2000
Delphi 7 Enterprise, Delphi 5 Prof.
BeitragVerfasst: Mi 27.08.03 12:44 
So Ex0rzist, hier meine Lösung:

Brauchte nicht direkt die Mail ID!Wenn man weiß, wieviele Mails im Postfach liegen brauch man sich da nur ne Mail(-ID) auswählen und er lädt Sie in die Message-Komponente!!

Und so gehts:
ausblenden Delphi-Quelltext
1:
pop3server.Retrieve(StrToInt(ed_mailid.text),mail_infos)					


pop3server = Indy pop3 Komponente
StrToInt = Umwandlung von eingebener Zahl (wird noch als String gehandelt) in einen Integer
ed_mailid = Editfeld (hier kann die gewünschte Mail eingegeben werden)
mail_infos= Indy Message Komponente (Objekt dem die Mail zum Verarbeiten zugeordnet werden soll)

Ich hoffe, das es verständlich ist!?

_________________
Gruß,
Akut - Programming