Jump to content

Recommended Posts

Hi, this is more of a MySQL centered problem.

I would like to set up an internal mail system on my web site, so that members have an inbox and can send "mail" to each other.

Is it better to have 1 giant mail table that stores all messages (and you call up the inbox by selecting all with recipient as username x) or to give each user their own table?

I'm leaning towards the first, but I really have no idea which one is more suitable.
Link to comment
https://forums.phpfreaks.com/topic/5595-internal-mail-system-infrastructure/
Share on other sites

[!--quoteo(post=357598:date=Mar 23 2006, 09:27 AM:name=ober)--][div class=\'quotetop\']QUOTE(ober @ Mar 23 2006, 09:27 AM) [snapback]357598[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Using one giant table for all mail would be the preferred method. Setting up tables for each user is both inefficient and poor database design.
[/quote]

Great. I was worried about that :-) Thanks Ober!
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.