Coming up with webmail Development notes (2) database and Software Design Analysis

Source: Internet
Author: User

I. Databases

  1. Supports multiple users. A Role table (mailrole) and a user table (mailuser) are required );
  2. Supports multiple folders. A folder table (mailfolder) is required );
  3. Multi-Mailbox settings are supported. A mailbox setting table (mailconfig) is required );
  4. Add a mail info table (maillist) and a Mail Attachment table (mailattachment ).

 

The following figure shows the database model:

 

II,ProgramDesign Analysis:

  1. Multiple users are supported. You need to design logon pages and administrator management pages (or how to manage users ?) User information page.
  2. Multiple folders are supported, and a folder tree is required. For example, a folder tree is displayed on the left of emails such as 163.
  3. Multiple mailbox settings are supported, so you must set the mailbox page and add the mailbox settings list page.
  4. Of course, the mail management page is still inseparable.
  5. Since multi-thread sending and receiving is supported, we need to set a mail sending and receiving Thread class, which we can call through WebService.
  6. In the end, the entire T-frame will not be used as an alternative.

Well, this graph is free of charge. If you need other functions, add them.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.