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

goodkAsked:
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.

dqmqCommented:
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.
0

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
0
goodkAuthor Commented:
?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy 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?
0
d4durveshCommented:
for first of your question ans take a look at it,

http://email.about.com/cs/standards/a/mbox_format.htm
http://www.vb123.com/toolshed/03_docs/outlookorders.htm

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

for third one check this tutorials,

http://www.w3schools.com/schema/default.asp

https://github.com/mcavage/node-ldapjs/issues/3

http://www.liquid-technologies.com/Tutorials/XmlSchemas/XsdTutorial_01.aspx

hope it has helps you. :-)
0
goodkAuthor Commented:
none of the above links were helpful!!
0
goodkAuthor Commented:
thanks
0
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
Databases

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.