0% found this document useful (0 votes)
103 views

Project Report On Mail Casting: Is Submitted in Partial Fulfillment of Requirement For

The document is a project report submitted in partial fulfillment of the requirements for a Bachelor of Technology degree in Computer Science and Engineering. It describes a project on developing an email casting system. The report includes an acknowledgement section thanking those involved in the project, a self-certificate confirming the work is original, and an outline of the contents to be included in the report such as the software development methodology, introduction, system requirements, design, testing, results, coding, and conclusion.

Uploaded by

nitish
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
103 views

Project Report On Mail Casting: Is Submitted in Partial Fulfillment of Requirement For

The document is a project report submitted in partial fulfillment of the requirements for a Bachelor of Technology degree in Computer Science and Engineering. It describes a project on developing an email casting system. The report includes an acknowledgement section thanking those involved in the project, a self-certificate confirming the work is original, and an outline of the contents to be included in the report such as the software development methodology, introduction, system requirements, design, testing, results, coding, and conclusion.

Uploaded by

nitish
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 18

A

Project Report

on Mail Casting

is submitted in partial fulfillment of requirement for

Degree of Bachelor of Technology in

Department of Computer Science & Engineering

2017

Submitted to: - Submitted by:-

Ms. Tanuja Rajput Nitish Rasgotra

Shubham Badyal

Sumit Badyal

Department of Computer Science & Engineering

Suresh Gyan Vihar University

Mahal, Jagatpura, Jaipur-302017


Certificate
This certifies that a bonafide record of the project report entitled

Mail Casting

is submitted by

Mr. Nitish Rasgotra

Shubham Badyal

Sumit Badyal

B.Tech (CSE) in the year 2017 in partial fulfillment of

Degree of Bachelor of Technology in Department of Computer Science & Engineering

Suresh Gyan Vihar University, Jaipur

________________________________________________________________

Mr. Tanuja Rajput DATE:

Associate Professor PLACE: Jaipur


ACKNOLEDGEMENT
Before we get into thick of the project report I would like to add a few heartfelt words for the
people who were part of this project in numerous wayspeople who gave unending support right
from the stage the project idea was conceived.

I wish to Acknowledge with a great sense of gratitude to my guide Dr. Manoj Kumar for
their valuable guidance, suggestion and correction, I have received from them. They not
only encouraged me throughout the work, but I also thank them for reviewing the entire
manuscript with painstaking attention for details.

It gives me immense pleasure to acknowledge my indebtedness to the various faculty

members of Suresh Gyan Vihar University Jagatpura, jaipur for helping me to design the
project work

as a part of my course curriculum.

Last but not the least, I avail the opportunity to express my deepest gratitude towards my
trainer Tanuja Rajput for helping me to complete this project successfully

Nitish Rasgotra

Shubham Badyal

Sumit Badyal
SELF CERTIFICATE
This is to certify that the Project Report entitled Email System is done by me is an authentic

work carried out for the partial fulfillment of the requirements for the award of the degree of

BTech Comp. Science under the guidance of Dr. Manoj Kumar Sharma The

matter embodied in this project work has not been submitted earlier for award of any degree

or diploma to the best of my knowledge and belief.

Nitish Rasgotra

Shubham Badyal

Sumit Badyal
Table of contents

Abstract
Software Development Methodology
Introduction
1. Purpose
2. Advantages
3. Scope
4. Existing System with Limitations
5. Proposed System Features

Specification Requirements
1. Sofware Requirement Specification
2. Hardware requirement Specification
3. Functional Requirements

System Design
1. Sequence and Colaboration Diagram
2. Class Diagrams
Testing and Implementation
Output Results
Coding
Conclusion
Bibilography
ABOUT THE PROJECT
Businesses usually adopt a common sense approach when it comes to spending the IT
budget with cost being a major influence in purchasing decisions. However, when it comes
to choosing a mail server, many businesses seem to pay less attention to the costs and, as
a result, end up spending far more money than is necessary.

Today, email is absolutely mission-critical. Communication and collaboration keep your


business running. Email and electronically enabled collaboration have become so
embedded in normal day-to-day operations that many businesses simply could not function
without them. Many businesses, however, have found that the cost of providing employees
with the latest in messaging and collaboration technology is rapidly escalating. To meet
modern business needs, mail servers have had to become more complex and with that
additional complexity come additional management burdens and costs. Furthermore, some
mail servers have an upgrade process that is both extremely complex and extremely costly
and which may necessitate the purchase of replacement server hardware. Combined, these
factors place a considerable drain on corporate resources. The problem is especially severe
for small and medium sized businesses (SMBs) which usually do not have access to the
same financial or technical resources as large enterprises.

Email-System Is An Application Program That Sends Electronic Message From One


Computer To Another. We will be developing our Project To keep in Mind the Problem of
Organization and also We Will Try To Minimize Cost for Organization.
INTRODUCTION
This project deals with the Mailing System. This project is having different modules like
new User creation form named it as a Sign-Up form and already existing user can logged into the
Mailing System named it as a Sign In form.

Email System(or Internet Mailing System) which has been privatized and is existing in
different forms like Hotmail. Free mail. Cyber mail, Mainly The project will give the easy way to
create a new account and sending mails with free of cost.

Advantages:

The user of Email System is given a unique login id and must give the correct password. It
gives total security for us. So unauthorized user can't allow to see our messages. Even if the user
forgets his/her password reminding facility by which the user can recollect the password and log
into the system.

The advantage of the this system is it's security feature allowing only registered users to
access the system and preventing any hackers, unauthorized users.

Existing System with Limitations:

Presenting Intranet Mailing is manually providing services to employees of departments of


an Organization. Employees have to go departments to know some particular information. Some
times information is passed by manually between departments. This manual system will take time
to pass the information and sometimes it causes lost of information also. This causes lost of
employee time also.
Proposed System Features:

Now a day the organizations are growing fastly and are increasing in size also. So there
organizations are divided into departments. In the fast growing world the information is need as
fast as possible. This can be accomplished by passing the information quickly. Quick passing of
mails is not possible in load manual systems. Because in manual system the mails are passed
through persons from one department to another. But it takes mush time and risk also. This leads
the inconsistency of information. So we need a system, which is both quick and accurate. This can
be achieved by mailing system.

In present organization structure most of the work is done using software applications. In
order to improve service for customers we need effective applications. Similarly considering need
of work flow we need intranet mailing application.

SPECIFICATION REQUIREMENT
Requirement analysis for web applications encompasses three major tasks: formulation,
requirements gathering and analysis modeling. During formulation, the basic motivation and goals
for the web application are identified, and the categories of users are defined. In the requirements
gathering phase, the content and functional requirements are listed and interaction scenarios
written from end-users point-of-view are developed. This intent is to establish a basic
understanding of why the web application is built, who will use it, and what problems it will solve
for its users.

Software requirement Specification:

A set of programs associated with the operation of a computer is called software. Software is the
part of the computer system, which enables the user to interact with several physical hardware devices.

The minimum software requirement specifications for developing this project are as follows:

Operating System : Window 2000, XP,Win 7,Win 8.

Presentation layer : Java, Servlets.

Database : Oracle

Documentation Tool : Ms Office

Hardware Requirement Specification:

The collection of internal electronic circuits and external physical devices used in building a
computer is called the Hardware. The minimum hardware requirement specifications for developing this
project are as follows:

Processor : Standard processor with a speed of 1.6 GHz or more

RAM : 256 MB RAM or more

Hard Disk : 20 GB or more

Monitor : Standard color monitor


BEHAVIORAL DESCRIPTION

Data Flow:
There are 2 types of Dfds they are

1. Context Level DFD


2. Top Level DFD
Context Level DFD:

In the Context Level the whole system is shown as a single process.

No data stores are shown.


Inputs to the overall system are shown together with data sources (as External entities).
Outputs from the overall system are shown together with their destinations (as External
entities).

ORACLE DATA BASE TABLES


Table Name:- sssitmail_users
Column Name Dat a T ype Nullabl e Def ault Primar y Key
ID NUMBER No - 1
FIRSTNAME VARCHAR2(4000) Yes - -
LASTNAME VARCHAR2(4000) Yes - -
EMAIL VARCHAR2(4000) Yes - -
GENDER VARCHAR2(4000) Yes - -
CITY VARCHAR2(4000) Yes - -
STATE VARCHAR2(4000) Yes - -
COUNTRY VARCHAR2(4000) Yes - -
REGISTEREDDATE DATE Yes - -
DOB DATE Yes - -

Table Name:- sssitmail_message


Column Name Dat a T ype Nullabl e Def ault Primar y Key
ID VARCHAR2(4000) No - 1
SENDER VARCHAR2(4000) Yes - -
RECEPIENT VARCHAR2(4000) Yes - -
SUBJECT VARCHAR2(4000) Yes - -
MESSAGE VARCHAR2(4000) Yes - -
MESSAGEDATE VARCHAR2(4000) Yes - -
TRASH VARCHAR2(4000) Yes - -

1-7

Coding
File Name: ComposeMailServlet.java

package com.javatpoint;

import java.io.IOException;

import java.io.PrintWriter;

import javax.servlet.ServletException;

import javax.servlet.http.HttpServlet;

import javax.servlet.http.HttpServletRequest;

import javax.servlet.http.HttpServletResponse;

import javax.servlet.http.HttpSession;

public class ComposeMailServlet extends HttpServlet {

protected void doGet(HttpServletRequest request, HttpServletResponse response)


throws ServletException, IOException {

response.setContentType("text/html");

PrintWriter out=response.getWriter();

request.getRequestDispatcher("header.html").include(request, response);

HttpSession session=request.getSession(false);
if(session!=null){

String sender=(String)session.getAttribute("email");

String recipient=request.getParameter("to");

String subject=request.getParameter("subject");

String message=request.getParameter("message");

int i=MailDao.save(sender, recipient, subject, message);

if(i>0){

out.print("message successfully sent!");

}else{

response.sendRedirect("loginerror.html");

out.close();

}
File Name: ConnectionProvider.java

package com.javatpoint;

import java.sql.*;

public class ConnectionProvider {

public static Connection getConnection(){

Connection con=null;

try{

Class.forName("oracle.jdbc.driver.OracleDriver");

con=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe","system","oracle");

}catch(Exception e){e.printStackTrace();}

return con;

File Name: DateFormatter.java


package com.javatpoint;

import java.text.SimpleDateFormat;

public class DateFormatter {

public static java.sql.Date formatdate(String stringdate)throws Exception{

SimpleDateFormat formatter=new SimpleDateFormat("yyyy-MM-dd");

java.util.Date utildate=formatter.parse(stringdate);

java.sql.Date sqldate=new java.sql.Date(utildate.getTime());

return sqldate;

File Name: InboxServlet.java

package com.javatpoint;

import java.io.IOException;

import java.io.PrintWriter;
import javax.servlet.ServletException;

import javax.servlet.http.HttpServlet;

import javax.servlet.http.HttpServletRequest;

import javax.servlet.http.HttpServletResponse;

public class InboxServlet extends HttpServlet {

protected void doGet(HttpServletRequest request, HttpServletResponse response)


throws ServletException, IOException {

response.setContentType("text/html");

PrintWriter out=response.getWriter();

request.getRequestDispatcher("header.html").include(request, response);

out.close();

protected void doPost(HttpServletRequest request, HttpServletResponse response)


throws ServletException, IOException {

doGet(request,response)

File Name:LoginDao.java

package com.javatpoint;

import java.sql.*;

public class LoginDao {

public static String validate(String email,String password){

String name=null;

try{

Connection con=ConnectionProvider.getConnection();
PreparedStatement ps=con.prepareStatement("select firstname from
sssitmail_users where email=? and password=?");

ps.setString(1,email);

ps.setString(2,password);

ResultSet rs=ps.executeQuery();

if(rs.next()){

name=rs.getString(1);

}catch(Exception e){e.printStackTrace();}

return name;

File Name: LoginServlet.java

package com.javatpoint;

import java.io.IOException;

import java.io.PrintWriter;

import javax.servlet.ServletException;

import javax.servlet.http.HttpServlet;

import javax.servlet.http.HttpServletRequest;

import javax.servlet.http.HttpServletResponse;

import javax.servlet.http.HttpSession;

public class LoginServlet extends HttpServlet {

protected void doPost(HttpServletRequest request, HttpServletResponse response)


throws ServletException, IOException {
response.setContentType("text/html");

PrintWriter out=response.getWriter();

String email=request.getParameter("email").concat("@sssitmail.com");

String password=request.getParameter("password");

String name=LoginDao.validate(email, password);

if(name!=null && !name.equals("")){

HttpSession session=request.getSession();

session.setAttribute("name",name);

session.setAttribute("email",email);

response.sendRedirect("InboxServlet");

}else{

request.getRequestDispatcher("loginerror.html").forward(request,
response);

out.close();

}
CONCLUSION
The project titled as Email System" has been designed with much care, with the intention easier and the
more complexity involved is presented in a simple and lucid style.

The advantages of the mailing System are

1. Security

2. Cost effective (may be Free of cost)

3. Less Mailing Time

4. Gift Incentives and many more...

The Intranet Mailing System works in a similar fashion as that of an Intranet Mailing System, there
is no need to get an internet connection for this mailing system. The various branches of the organization
can be connected to a single host server and then an employee of one branch can send a message to an
employee of another branch through server.

The users of Intranet Mailing are given a unique user-id and password is hided .So it gives security
also.

BIBLIOGRAPHY

For Java installation

https://www.java.com/en/download/

For Oracle DataBase installation

You might also like