TCP client tutorial needed

Can anyone post a simpel TCP/IP client example? I need to connect to my mail server and get a list of new mails (POP3 STAT) and I need to download them into a memo field, one by one.

Anyone?
fantasia123098Asked:
Who is Participating?
 
shaneholmesCommented:
Have you tried looking at the Indy components (free).
There is a POP3 component which will do what you need.

See:

Indy - The Indy Project

http://www.indyproject.org/

There is documentstion and examples:

http://www.indyproject.org/

This is always a very widely used component set, there is much information to be found in the google groups (news groups)

also there are threads on EE

http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_20762308.html?query=Indy+Pop3&clearTAFilter=true

Hope this helps!

sholmes
0
 
OctabunCommented:
http://jvcl.sourceforge.net

It is the Jedi project (free) which has lots of components including TCP/IP clients.

The TCP/IP client per se is trivial (just a socket). That's why there are lots of them. If you need some actual functionality, like downloading pages from Internet, you will have aditional problems like going through login windows, etc. IMHO Jedi does more of that stuff then Indy. Some other free library i do not know about may be even better, so choose responsibly.

Actually you need not a TCP/IP client, but a POP3 client. Jedi does that too.

The downside of Jedi is that help for VCL components is in the source code and example projects.
0
 
cwwkieCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup topic area:
   Split: shaneholmes {http:#13744697} & Octabun {http:#13746189}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

cwwkie
EE Cleanup Volunteer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.