Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 650287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:02:11+00:00 2026-05-13T22:02:11+00:00

I am trying to design an mail system. I have stuttered on the problem

  • 0

I am trying to design an mail system. I have stuttered on the problem that I have no solution yet, but maybe you can point me to some? My problem is I don’t really imagine how does the database schema should look like if we are having two different tables for Inbox and Outbox. In example we also must have Users and Messages tables. So from my point of view I think that Message should have two Foreign key to both users ID’s(primary key in Users table) from which we can identify sender and receiver. Afterwards it seems ok, but if we will start thinking that we must identify which of the both users should have this message in Inbox or Outbox? Only thing comes to mind if we will have Message fields like id, sender_id and receiver_id, text and etc. I don’t think its a good maintainable design.. In example if we would like to have Message table not only for users conversations but on forum or somewhere else? Please correct me if I am wrong. Any help, suggestions, advices are welcome!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T22:02:12+00:00Added an answer on May 13, 2026 at 10:02 pm

    Look at Zimbra for some inspiration. It’s open source, and uses MySql to store the message metadata, while the actual messages are stored in the file system.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to design a layout so that I can change the views
I'm trying to design an easily extendable form system in javascript, but am having
I am trying to design my URLs so that I can get only one
I'm trying to design a set of factory classes for our system, where some
I'm trying to design application that will have UI with database in the backend.
I'm trying to design some images and button images for an Android app. But
I'm trying to design an application that will use a DB to store some
I'm trying to design an entity model for an application that uses ASP.Net membership
I have been trying to design a WCF file upload service and am getting
Overview: I'm trying to design an application that will encrypt files to safely send

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.