Mail Server Arun

download Mail Server Arun

of 31

Transcript of Mail Server Arun

  • 8/8/2019 Mail Server Arun

    1/31

    MAIL SERVER

    Amity School Of Distance LearningNoida

    PROJECT SYNOPSIS

    PROJECT TITLE: MAIL SERVER

    BY

    ARUN KUMAR

    ROLL NO: 17050105444

    Submitted to the Amity School of Distance Learning

    in partial fulfillment of the requirements

    for the award of the degree

    Masters

    Of

    Computer Applications

    Amity School of Distance Learning

    Noida

    sent

    administrator destination

    age

    user

    forwar

    d

    inbox dat

    e

    subjectuser id

    sender

    Send mail

    Maintai

    ns

    age contact

    spasswor

    d

    mail

    New mail

    subject reciver

    ail

    mail

    Date

  • 8/8/2019 Mail Server Arun

    2/31

    MAIL SERVER

    SYNOPSIS

    MAIL SERVER

    SUBMITTED BY:

    NAME : ARUN KUMAR

    ENROLLMENT NO : 17050105444

    GROUP MEMBERS : 1. ARUN KUMAR [ 17050105444 ]

    2. SANDEEP KUMAR [ 17050105465 ]

    (Dynamic Site using JSP, SERVLETS and oracle,JMS )

  • 8/8/2019 Mail Server Arun

    3/31

    MAIL SERVER

    CONTENTS

    Performa for approval of MCA Project proposal

    Bio-Data of the Guide

    Title of the project

    Introduction and objective of the project

    Project category (Front end (GUI) / Back end (RDBMS))

    Tools, Platform, Hardware (H/W) and Software(S/W)

    Problem Definition, Requirement specification, Project planning andScheduling

    A complete structure of the Program

    1. Entity Relationship diagram(ER), Data Flow Diagrams (DFDs)

    etc

    2. Number of Modules and their description

    3. Database Design (Tables) of all Models

    Implementation of Security

    Future Scope of the Project, Limitation of the Project

  • 8/8/2019 Mail Server Arun

    4/31

    MAIL SERVER

    Bibliography

    Title of the project.

    MAIL SERVERMAIL SERVER

  • 8/8/2019 Mail Server Arun

    5/31

    MAIL SERVER

  • 8/8/2019 Mail Server Arun

    6/31

    MAIL SERVER

    IIntroduction of the projectntroduction of the project

    When you send an e-mail message, your computer transmits it to an SMTP server

    using the Internet. The server looks at the e-mail address (like the address on an

    envelope), then forwards on it to the recipient's mail server using an application

    called Sendmail. If for some reason, the recipient?s e-mail server is inaccessible,

    Sendmail periodically re-tries to send the e-mail. If after 4 hours the e-mail has

    not been delivered, you receive a notification informing you about the problem. If

    the e-mail cannot be delivered even after 5 days, Sendmail gives up and sends you

    a failure notification.

    When the e-mail is received at the destination mail server, it is stored until it is

    retrieved by the addressee. To retrieve your e-mails, your e-mail client (such as

    Microsoft Outlook or Outlook Express) connects to the POP3 or IMAP server and

    issues a series of commands to download copies of your e-mail messages to your

    computer.

    E-mails can be sent anywhere in the world to anyone who has an e-mail address.

    Almost all Internet service providers (ISPs) offer an e-mail address with every

    account.

    Initially, when e-mail technology was introduced, only short messages could be

    sent. Attachments such as formatted documents, photographs etc could not be

    sent. With the introduction of Multipurpose Internet Mail Extension (MIME) and

    other encoding techniques, it has become possible to send almost any kind of

    attachments.

  • 8/8/2019 Mail Server Arun

    7/31

    MAIL SERVER

    Objective of the projectObjective of the project

    The MailServerComponent implements POP3 and SMTP (core)

    servers. It Hand les low level POP3 and SMTP commands and raisesevents according to it. The Mail Server service just handles Mail

    Server Component events and does mail retrieving and storing

    jobeneral:

    Objectives of mail server are:-

    SMTP/POP3/IMAP4/Webmail

    IP access filtering

    User mailbox size limit

    Supports XML or MSSQL databases

    Nice GUI for administration

    Well commented source code included

    Why is the particular topic chosen ?

    I am an employee of Indian Air Force and working as a technician in IT Cell

    since last 10 years. I have been observing the manual work flow of among the

    sections. I am deeply concerned with the well being of my organization and

    would therefore like to use the computer technology for the improvement of

    correspondence and the communication between sections and distant

    establishments.

    What contribution would the project make and towhom ?

    Mail Server will provide fast, reliable and secure correspondence among the sections and

    subsections.. The xml and MSSQL database will provide fast mailing service to multiple users

    simultaneously. This will minimize the manual correspondence, paper consumption and manpower to

    deliver mails. The main advantage of this project to save the precious time to the users for

    correspondence.

  • 8/8/2019 Mail Server Arun

    8/31

    MAIL SERVER

    PROJECT CATEGORY:-

    Mail server is an internet application to providethe facility of mailing from one server to anotherso mail server is being made as web-application.

  • 8/8/2019 Mail Server Arun

    9/31

    MAIL SERVER

    Input ofInput ofthe projectthe project

    Login page get the input of user id andLogin page get the input of user id andpassword.password.

    Create the free new user id for registerCreate the free new user id for registeryour self.your self.

    Send mail.Send mail.

    read. Inbox mailread. Inbox mail

    manage mail(sent, inbox, draft).manage mail(sent, inbox, draft).

    Change passwordChange password

    Delete mailDelete mail

    Email Delivery notificationEmail Delivery notification

    ContectsContects

    GroupGroup

    PhotosPhotos

  • 8/8/2019 Mail Server Arun

    10/31

    MAIL SERVER

    Output of the projectOutput of the project

    View ads and contacts.View ads and contacts.

    Message Inbox.Message Inbox.

    HelpHelp

    HomeHome

  • 8/8/2019 Mail Server Arun

    11/31

    MAIL SERVER

    Benefits of proposed SystemBenefits of proposed System

    Fully works as a onlineFully works as a online

    Reducing the timeReducing the time

    Dont ThinkingDont Thinking

    Centralized maintain all information.Centralized maintain all information.

    Easy to Searching the information.Easy to Searching the information.

    Easy to managing whole ads, MailEasy to managing whole ads, Mail

  • 8/8/2019 Mail Server Arun

    12/31

    MAIL SERVER

    Modules & Process Logic ofModules & Process Logic of

    ProjectProject

    1. Login :In this module user enter the User id andpassword is checked andonly valid userid and password will get entry into

    members zone. This is a securityfeature to avoid entry of unauthorizedusers.

    2. Registration Process:Through this module new user canregistered them. After giving their

    details, they will get a user id andpassword. Then to get entry into postersection they need to provide this id andpassword and only poster with valid idand password will get entry into posterzone. This is also a security feature toavoid entry of unauthorized user.

    3. Send mail:Through this module a user can send

    a new mail, reply and forward mail. Hecan update including user name andpassword and search and shortlist the

    Viewers.

    4. Administrator:

  • 8/8/2019 Mail Server Arun

    13/31

    MAIL SERVER

    This is the Administrators moduleby which he keep the eye on whole site

    and maintain and upgrade the sitesservice for sake of users. Administratorcan show banner ads of others, whichhelp the site in revenue.

    5. Log Out: -5. Log Out: -To provide functionality to logout yourTo provide functionality to logout your

    id and return to home page.id and return to home page.

    6. Sent mail: -6. Sent mail: -You can write any mail and alsoYou can write any mail and alsoattach any document or image and send to yourattach any document or image and send to yourdestinations.destinations.

    7. Mail Inbox: -7. Mail Inbox: -You can check your mail also andYou can check your mail also andattach the important files with your mail box.attach the important files with your mail box.

    8. Help: -8. Help: -Provide the functionality to get help aboutProvide the functionality to get help aboutthe online reminder.the online reminder.

    99.. Contact:Contact: this module will store all contect ofthis module will store all contect ofrelated person (name,email,mobile and address etc.)related person (name,email,mobile and address etc.)

    10. Group: this module will help to create a group and join a group

    11: Photo:this module will store the users photo and anotherdocument

  • 8/8/2019 Mail Server Arun

    14/31

    MAIL SERVER

  • 8/8/2019 Mail Server Arun

    15/31

    MAIL SERVER

    DATA FLOW DIAGRAMDATA FLOW DIAGRAMSS

    Context Level DFDContext Level DFD

    MAIL SERVER

    Search Contacts

    View Contacts

    Sends mail

    Reads mail

    Save mail

    Registration

    Login

    Sends mail

    Receive

    ADMINISTRATOR

    Maintainme m

    ory

    ViewRegd.

    Users

    LOGIN

    User Receiver

  • 8/8/2019 Mail Server Arun

    16/31

    MAIL SERVER

    Contacts

    Search

    mail

    View

    mailSend mail

    sent

    draft

    inbox

    Login

    Process

    View

    inboxSend

    mail

    draft

    Users

    Administrator

    Maintain

    user View

    Registered Users

    Send

    Notificatio

    n

    Change

    password

    Maintain

    Memory

    AdminLogin

    Receiver

    Search

    Contact

    s

    View

    Contacts

    user

    New user

    Level-1 DFDLevel-1 DFD

  • 8/8/2019 Mail Server Arun

    17/31

    MAIL SERVER

  • 8/8/2019 Mail Server Arun

    18/31

    MAIL SERVER

    Contacts

    Search

    mail

    View

    mailSend mail

    Sent mail

    draft

    inbox

    Login

    Process

    View

    inboxSendmail

    draft

    Users

    Administrator

    Maintainuser View

    Registere

    d Users

    Send

    Notificatio

    n

    Change

    password

    Maintain

    Memory

    AdminLogin

    Receiver

    Search

    Contacts

    View

    Contacts

    user

    New user

    Check

    address

    Create

    groupJoin

    group

    Group_list

    Level-2 DFDLevel-2 DFD

  • 8/8/2019 Mail Server Arun

    19/31

    MAIL SERVER

    E-R DiagramE-R Diagram

    DATA STRUCTUREDATA STRUCTURE

    Adminlogin:This table maintains details ofadministrator.

    FieldName

    DataType

    user_id Text

    Email

    Name Security _q

    userid

    useri

    d

    Subjec

    tReciver

    Draft

    userid

  • 8/8/2019 Mail Server Arun

    20/31

    MAIL SERVER

    Username TextPassword TextEmail Text

    Address Text

    User:This table maintains details of user that haveregister

    Primary key

    inbox:This table show the inbox status of user

    FieldName

    Data Type

    Field name Datatype

    user id Textname Text

    password Text

    City TextState Textcountry Textgender TextDateofbirth TextSecurity_q textage int

    Alt_mail text

  • 8/8/2019 Mail Server Arun

    21/31

    MAIL SERVER

    user_id Textsender Text

    subject Text

    date Textmail Text

    Foreign key- user_id

    Sent :This table store the record about sent mail.

    Field Name Data Type

    user_id Textreceiver Textsubject Text

    date Text

    mail Text

    status text

    Foreign key user_id reference user

    Draft: this stores and maintains the mail that havesaved by user

  • 8/8/2019 Mail Server Arun

    22/31

    MAIL SERVER

    .Field Name Data Type

    user_id Text

    receiver Textsubject Text

    date Text

    mail Text

    status text

    Contacts:- this table store the contacts of user

    Field Name Data Typeuser_id Textcontectname Textemail Text

    nickname Text

    phone Text

    TOOLS/PLATFORM USED:

  • 8/8/2019 Mail Server Arun

    23/31

    MAIL SERVER

    Front End Java ServerPages

    User friendly

    GUI Separation of work(designing & coding)

    Written once run anywhereMiddle-Tier

    Java Beans

    JMS

    Back End Oracle 10gexpress edition

    Security

    Performance

    Scalability

    Reliability

    Support RDMS concepts

    Hardware:-Hardware:-

  • 8/8/2019 Mail Server Arun

    24/31

    MAIL SERVER

    Processor Pentium 4Processor Pentium 4thth

    RAM 128MBRAM 128MB

    Hard Disk 20GB/40GB.Hard Disk 20GB/40GB.

    Software:-Software:-

    Operating SystemOperating System WindowsWindows98/2000/XP,UNIX98/2000/XP,UNIX

    Front EndFront End Html/JSP.Html/JSP.

    Back EndBack End Oracle 10g expressOracle 10g expresseditionedition

    Design PatternsDesign Patterns MVCMVC..

  • 8/8/2019 Mail Server Arun

    25/31

    MAIL SERVER

    SECURITY MECHANISMSECURITY MECHANISM

    In the software security there are two levels of security.The 1st level of security, which is provided by the FRONTEND and 2nd level of security provided by the databasewhich is being used.

    SOFTWARE INTERFACE

    - FRONT ENDWe have implementedJavaScript

    for all the Client side validations. Client side JavaScript isdesigned to reside inside HTML document & ensure theyrun properly. It is object based, event driven, platform

    independent. These are important parts of any Webapplication to implement Client side Validations and theinvalid data is not submitted. The form is not submitteduntil user fills in correct data. It is extremely useful torestrict mistakes by user.

    We have implemented Servlets in

    between which is fetching the data values given by theuser and storing the input into database (into appropriatetables).Servlets use JDBC-ODBC drivers to makeconnection with database and store data. Servletsprovides support to execute queries via creating objectsof Statement and Connection Interfaces. Servlets areobject byte codes that can be dynamically loaded off the

    Internet. Servlets are platform independent, dynamicallyloadable.

  • 8/8/2019 Mail Server Arun

    26/31

    MAIL SERVER

    - BACK END We have used Oracle/Accessas the Back end. Oracle Server provides efficient/effectivesolution for major database tech.- Large database and space management.- Many concurrent database users.

    - High transaction processing requirement- High Availability- Industry accepted standards- Manageable security- Portability

    FRONT END SECURITY:-

    This security level is developed or designed by the s/wdeveloper or designer. S/he provides her/his s/w thesecurity for the system, by considering many factors

    regarding to the particular s/w.In this software following are used to provide security.

  • 8/8/2019 Mail Server Arun

    27/31

    MAIL SERVER

    LOGIN CHECKING:

    There are two logins areprovided in this software one for employees and one forapplicants. In order to avail the services of softwareemployees have to provide a valid id and password andonly after entering correct id and password employee willget entry otherwise they will be blocked from accessingany services of this site. Similarly a login check isprovided for user applying for job. In order to enterrecruitment zone user have to enter id and passwordwhich they got after registration , in this way securityhave been provided for both employee section andapplicant section. There is also provision to change thepassword in case password is known by other.

  • 8/8/2019 Mail Server Arun

    28/31

    MAIL SERVER

  • 8/8/2019 Mail Server Arun

    29/31

    MAIL SERVER

    Future Scope:-

    Providing the SMS alerts facility to users toremove the dependency on email account (web).

    Providing the social media site to express,review and share in the form of Blogs,Photos, Videos, discussions in multipleexplosively popular areas of interest such asMovies, Travel ,events and much more.

    Nurturing the dream of providing Emailaccount facility to users so they can feel theindependence of mail account at the same site.

  • 8/8/2019 Mail Server Arun

    30/31

    MAIL SERVER

  • 8/8/2019 Mail Server Arun

    31/31

    MAIL SERVER

    BibliographyBibliography

    Book Name Author Name

    Java-2 Complete Reference by Patrick Naughton

    Java Servlet Programming by OReilly

    Pure JavaScript by Jason Gilliam, CharltonTry, R.Allen Wyke

    HTML Complete BPB publications.

    Java Server Programming by Apress Publication.