Autor Beitrag
Mike_C
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 207

Win XP
D7 Enterprise
BeitragVerfasst: Mo 11.08.03 18:31 
Hi Leutz

alle welt redet hier übers Email versenden. Mal ne blöde frage: wie empfange ich eigentlich Mails? Ein bisschen Code wäre nett :-) bin Newbie in sachen I-Net und Network angelegenheiten!

Gruß
MikeC

_________________
Life is, what some people call a mystery. To me life's just a lesson, you're learning when you're through. So why do we try to understand?
MSCH
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1448
Erhaltene Danke: 3

W7 64
XE2, SQL, DevExpress, DevArt, Oracle, SQLServer
BeitragVerfasst: Mo 11.08.03 18:45 
als erstes brauchst du einen Provider, der dir deine E-Mail(adresse) zur Verfügung stellt. In der Regel sind das POP Konten.
Anschließend kannst du diese über diverse Kompos (Indy, Fastnet etc.) abrufen. Diese Kompos implementieren i.d.R. das POP Protokoll (RFC ich weiss nicht was).
Nun steht dem Abholen nichts im Wege.

grez
msch
Mike_C Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 207

Win XP
D7 Enterprise
BeitragVerfasst: Mo 11.08.03 18:55 
@msch: dass ich nen provider brauche und ein paar kompos war mir auch klar! :-)

mir ist der ablauf von dem ganzen nicht so wirklich klar.

so weit komme ich selbst:
1. beim provider einloggen
2. dem provider mitteilen, dass ich mails haben will (fragt sich wie ich das delphi erkläre)
3. die mail anzeigen
4. die anhänge handlen

wie realisiere ich jetzt die punkte 2 und 4?

_________________
Life is, what some people call a mystery. To me life's just a lesson, you're learning when you're through. So why do we try to understand?
MSCH
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1448
Erhaltene Danke: 3

W7 64
XE2, SQL, DevExpress, DevArt, Oracle, SQLServer
BeitragVerfasst: Di 12.08.03 17:49 
:-)
Punkt 2: POP-Protokoll. Nicht beim Provider, sondern deren Mailserver. Kannst du auch via Telnet proben.
Schau dir mal die fastnet/Indy Komponenten an, die implementieren das ganze soweit, dass du nur den Server und Username/Passwort eingeben musst. Diese Kompos haben ne Menge Properties wie HTML/text und Attachments gehandelt werden. (Punkt 4)
Jetzt das ganze POP Protokoll zu erklären, wäre etwas was aus dem Rahmen fällt.

Hier übrigens die RFC: www.faqs.org/rfcs/rfc1939.html

grez
msch
Mike_C Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 207

Win XP
D7 Enterprise
BeitragVerfasst: Di 12.08.03 18:43 
@msch
werds mal versuchen. bei probs melde ich mich bei dir ok?

_________________
Life is, what some people call a mystery. To me life's just a lesson, you're learning when you're through. So why do we try to understand?