Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How Emails system works ?

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.
I have a question about email systems.
When you login to your email account and navigate to your inbox, you will find your emails messages.
How does the email system save emails ?
database ? flat-files ? binary files ?
thanks.
 
M Beck
Ranch Hand
Posts: 323
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
different systems do it different ways, it will depend on how your server is set up. all three of the methods you mentioned (and one or two more) have been used by different systems, at different times.
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course the messages you see in your inbox (unless using webmail or directly using a serverconsole) aren't residing on the server at all but have already been retrieved from it (and usually deleted) using a protocol like POP3.
The client then stores them in some way, which can indeed be textfiles, binary files, or some kind of database.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic