email database schema; I saw this; Do you know anything any comments? or other sites? thanks

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

For a simplistic design, it's fairly sound. The main faults I see are failure to declare unique constraints. Despite the one identified in the text, others are needed to prevent circumstances such as two subfolders with exactly the same name.  

IMHO, another shortcoming is modeling FriendlyName as an attribute of Address.  I mean if there are 5 Bob's, are they the same or different people?  If you want to find a certain Bob's email address, which one do you pick.  No, I think you need another table for Person, with a 1-man relationship between Person and Address.

Not sure I understand Attachment.  It seems to hold both a filepath to an external file and a Blob that presumably holds the binary.

MessageAddress is lacking a primary key, which I find quite interesting.  I wonder, for example, if the requirements support the same address multiple times for one email. For example, From and To addresses the same.  For that matter, I also wonder why there is both a From address in the MessageAddress table and a SenderID in the Message table.

If I was grading the design for a class project, it gets a B+.  If I was evaluating the design for a email delivery system, it gets thrown out for failure to meet minimum requirements.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
goodkAuthor Commented:
thanks, are there any comprehensive design schema available
goodkAuthor Commented:
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

goodkAuthor Commented:
I still have several question?  

1- Do you store the mail body in a database? or a file?
2- Do you store the pictures and the attachments in a database or just a file in a folder?
3- Any one with a working email schema? Or share their experience?
for first of your question ans take a look at it,

for second question one we use attachments method it is easy and convenient.

for third one check this tutorials,

hope it has helps you. :-)
goodkAuthor Commented:
none of the above links were helpful!!
goodkAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.