There is a task to write the most primitive mail server, the purpose of which is to send mail.
The implementation of php or java.
Where to dig where to start?

  • 2
    Digging in the direction of Google, if very primitive, is no more than 100 lines of code in any language. - Gorets
  • @Gorets> Answers by type "smoke search" are usually not welcome. Judging by the fact that the author did not mention SMTP, it would be worthwhile to at least designate the basic protocols and the necessary minimum for server communication with other servers, and not send to Google. - etki
  • this was not the answer ... but a comment, if there is a phrase like "Implementing php or java" in the question ... I think it’s worth mentioning that something other than Google would be superfluous - Gorets

1 answer 1

Check out the codeproject link . Already with the search bar. There, however, on Sharp, but the general principles will be enough. SMTP and POP3 are examples.