3

I want to write a mail server, but I don't know how. Would you please give me some direction where to search for exmaples?

Bogdan Bogdanov
  • 1,707
  • 2
  • 20
  • 31
Johanna
  • 27,036
  • 42
  • 89
  • 117

2 Answers2

5

Essential reading for implementors of SMTP servers:

The Wikipedia article Simple Mail Transfer Protocol has a huge amount of additional information and links.

Community
  • 1
  • 1
Greg Hewgill
  • 951,095
  • 183
  • 1,149
  • 1,285
5

Apache has done that for you. Visit Apache James home page: http://james.apache.org/

Buhake Sindi
  • 87,898
  • 29
  • 167
  • 228
  • Even if you really want to write your own, and an already-finished solution like this is out of the question, using it as an example might be very helpful. – Tyler Feb 26 '10 at 10:11
  • Reinventing the wheel...I hope you have added better gripping technology on the wheel. You have to be up to date with RFC's if you want to do it from scratch. – Buhake Sindi Feb 26 '10 at 10:17