Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

e-mail  RSS feed

 
midhun raj
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Implement an SMTP server and client .Store the email in users inbox/outbox...


This was one of our university exam question..I am not much familiar with these types of programming please do help me .Thanks in advance,
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you asking how to design that, or how to implement that, or something else? Either way, a good knowledge of the involved protocols would be necessary (at least SMTP and POP3). If you're looking for code to analyze, check out Apache James.
 
midhun raj
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To design that .. what i need is just a demo program .. i need to work it only for my local host
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to find out how email is sent and received. The whole process is defined in a number of Internet RFC (request for comments). Google for the RFCs for SMTP and POP3. The original mail spec was RFC822, but it has been replaced.

You need to open a Socket to the appropriate host on the appropriate port. Then send the commands defined in the RFC and read the response. Process the response. Repeat until done.

This is a fairly challenging project for an undergraduate exam. It might take a professional programmer a week or two to implement this.

Are you sure you have understood the scope?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!