This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes General Computing and the fly likes How Emails system works ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "How Emails system works ?" Watch "How Emails system works ?" New topic

How Emails system works ?

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

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 ?
M Beck
Ranch Hand

Joined: Jan 14, 2005
Posts: 323
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

Joined: Oct 12, 2000
Posts: 5093
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.

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: How Emails system works ?
It's not a secret anymore!