: can any one give me the detail doc. on mail server?? ..means how it works..i need the pure technical document...pls help me...
Well, it's quite complicated and needs a lot of explanation.
You'll need to read about POP3 and SMTP protocols. The first one is used to receive mail, the other one is used to send mail. Check out the official RFC pages or search for some articles.
Of course you'll need to know how to use sockets, so you can make use of the network.
I recommend you trying to write a _client_ first, and then writing server applications. Clients are much, much simpler.
Piotr Horzycki, Poland
e-mail: mediaworks at tlen.pl