Mail Received Authentication System
Mail Received Authentication System
by
Internal Guide
2020- 2021
Bhoj Reddy Engineering College for Women
(Sponsored by Sangam Laxmibai Vidyapeet, approved by AICTE & affiliated to JNTUH)
Vinaynagar, I S Sadan Crossroads, Hyderabad 500 059, Telangana
Telephone: 040-2453 7282, Website: www.brecw.ac.in, Email: [email protected]
CERTIFICATE
This is to certify that the Mini Project Report entitled “MAIL RECEIVED
AUTHENTICATION SYSTEM” is a bonafide work carried out by
External Examiner
Sangam Laxmibai Vidyapeet is an educational society for promotion of education among girls and women.
It is established in 1952 and registered under the Telangana Societies Registration Act.
ACKNOWLEDGMENT
We are thankful to our project coordinator Mrs M Vineela, Associate Professor, Computer
Science and Engineering Department, for giving us this opportunity to do this project.
We are also thankful to our internal guide Ms AVS Radhika, Assistant Professor, Computer
Science and Engineering Department for her extreme guidance and support in completing this
project successfully.
We express our deep sense of gratitude to our external project guide Conscience
Technologies, for having permitted us to carry out the project work in their institute and for
their valuable guidance and supervision at every stage.
We are also thankful to the staff members of Computer Science and Engineering department,
my friends and to our parents who helped us in completing this project successfully.
By
6. Screenshots 24-31
7. Conclusion and Future scope 32
8. References 33
List of Figures
i
List of Tables
ii
Abstract
In this digital era,mail serves as successful to communicate with customers and colleagues.
An mail has brought about an innovative change in our communication system. In this, we
only require a personal computer or mobile phone as well as internet connection.It is also
very and cheap so the students can use it to communicate with their friends at home and
abroad. Because it is widely used all over the world, it is known as the most advanced
communication system. In Existing system we have only the facility of sending and view
mail, But we don’t know whether receiver has read it or not ,No information regarding time
at which user read the email and also we don’t have the facility to delete the mail that we
have sent to receiver by mistake .In this system we came up with the facility that allows
sender to know the date and time at which a particular mail has being read by receiver and it
also provide a facility to delete a mail if the receiver has not opened it.
iii
1. Introduction
MAIL RECEIVED AUNTHENTICATION SYSTEM INTRODUCTION
1. Introduction
1.1 Introduction of the project
At present generation e-mail plays a prominent role. It is most used application for
communication through which we can send text messages, documents, images and files. In
present e-mail system we have only the facility of file sent notification. We don’t know whether
receiver has seen it or not. To know whether mail send or not we proposed a system for message
receipt facility.
1.2 Scope
This web site allows users of any business or uncommerical users to communicate with each
other by sending mails remotely with support of acknowledgment about the mail being read by
receiver
In present e-mail system we have only the facility of file sent notification. But we don’t know
whether receiver has seen it or not. Because of this some important mails may get ignored by the
receiver after seeing it also.
Our proposal system for message receipt facility when it is seen by the recipient, so that sender is
aware of the fact that his message has been read. This also displays the time and date when the
receiver opens the mail.
Sender is aware of the fact that his message has been read.
This also displays the time and date when the receiver opens the mail.
2. Requirement Analysis
2.1.1 Admin
• Login
2.1.2 User
• Register
• Login
• Sending mail
• Delete mail
• View mail
• Acknowledge mail
• Update time
2.2.1 Performance
determine how a system performs in terms of responsiveness and stability under a particular
workload.
2.2.2 Reliability
Reliability describes the ability of a system or component to function under stated conditions for
a specified period of time. Reliability is closely related to availability, which is typically
described as the ability of a component or system to function at a specified moment or interval of
time. Reliability is usually defined as the probability that a product will operate without failure
for a specified number of uses (transactions) or for a specified period of time. To be truly testable
a requirement for software reliability should be stated as a forecast and the test results should
indicate the confidence level associated with the forecast that the product will meet the
requirements.
2.2.3 Scalability:
The site should be easily implemented by other IT professionals for further uses no matter what
platform it is. The database of the site should be able to deal with an enormous and increasing
amount of data
2.2.4 Portability
2.2.5 Usability
Usability can be described as the capacity of a system to provide a condition for its users to
perform the tasks safely, effectively, and efficiently while enjoying the experience. In software
engineering, usability is the degree to which a software can be used by specified consumers to
achieve quantified objectives with effectiveness, efficiency, and satisfaction in a quantified
context of use.
• Server : Tomcat
• Database : MYSQL
• Ram : 1GB
We use waterfall model for software development process which has various phases in it.
System Design – The requirement specifications from first phase are studied in this
phase and the system design is prepared. This system design helps in specifying
hardware and system requirements and helps in defining the overall system architecture.
Implementation − With inputs from the system design, the system is first developed in
small programs called units, which are integrated in the next phase. Each unit is
developed and tested for its functionality, which is referred to as Unit Testing.
Integration and Testing − All the units developed in the implementation phase are
integrated into a system after testing of each unit. Post integration the entire system is
tested for any faults and failures.
Deployment of system − Once the functional and non-functional testing is done; the
product is deployed in the customer environment or released into the market.
Maintenance − There are some issues which come up in the client environment. To fix
those issues, patches are released. Also to enhance the product some better versions are
released. Maintenance is done to deliver these changes in the customer environment.
All these phases are cascaded to each other in which progress is seen as flowing steadily
downwards (like a waterfall) through the phases. The next phase is started only after the defined
set of goals are achieved for previous phase and it is signed off, so the name "Waterfall Model".
In this model, phases do not overlap.
3. Design
3.1 Architectures
Project architecture represents number of components we are using as a part of our project and
the flow of request processing i.e., what components in procession the request and in which
order. An architecture description is a formal description is a formal description and
representation of a system organized in a way that supports reasoning about the structure of the
system.
1. Software architecture
2. Technical architecture
Database
Login
Admin View users
Delete Users
The architecture of a system describes its major components, their relationships, and how they
interact with each other. Software architecture and design includes several contributory factors
such as Business strategy, quality attributes, human dynamics, design and IT environment.
Software Architecture typically refers to the bigger structures of a software system, and it deals
with how multiple software processes cooperate to carry out their tasks. Software design refers to
the smaller structures and it deals with the internal design of a single software process.
Front end
Middle-Ware
JavaScript
JSP
HTML Database
Java
CSS MYSQL
The technical architecture defines the technologies that are used to implement and support a
Business Intelligence solution that fulfills the information and data architecture requirements.
These technologies cover the entire BI life cycle of design, development, testing, deployment,
maintenance, performance tuning, and user support.
A use case diagram in the Unified Modeling Language (UML) is a type of behavioral diagram
defined by and created from a Use-case analysis. Its purpose is to present a graphical overview
of the functionality provided by a system in terms of actors, their goals (represented as use
cases), and any dependencies between those use cases. The main purpose of a use case diagram
is to show what system functions are performed for which actor. Roles of the actors in the system
can be depicted
In software engineering, a class diagram in the Unified Modeling Language (UML) is a type of
static structure diagram that describes the structure of a system by showing the system's classes,
their attributes, operations (or methods), and the relationships among the classes. It explains
which class contains information.
Sequence Diagrams Represent the objects participating the interaction horizontally and time
vertically. A Use Case is a kind of behavioral classifier that represents a declaration of an offered
behavior. Each use case specifies some behavior, possibly including variants that the subject can
perform in collaboration with one or more actors. Use cases define the offered behavior of the
subject without reference to its internal structure. These behaviors, involving interactions
between the actor and the subject, may result in changes to the state of the subject and
communications with its environment. A use case can include possible variations of its basic
behavior, including exceptional behavior and error handling.
Activity diagrams are graphical representations of Workflows of stepwise activities and actions
with support for choice, iteration and concurrency. In the Unified Modeling Language, activity
diagrams can be used to describe the business and operational step-by-step workflows of
components in a system. An activity diagram shows the overall flow of control.
Databases
4. Implementation
4.1 Technologies
This project is developed using HTML, CSS, JAVASCRIPT as Client-side technologies, JSP
and MYSQL as server-side technologies in Windows environment. This system provides
optimized utilization of resources, improved productivity, and efficient management of
resources as it is completely computerized and has centralized database maintenance.
border-collapse:collapse;
font-size: 20px;
}
a{
text-decoration: none;
}
[type=file]
{
width:0;
height:0;
}
</style></head>
<center>
<body style="background-
image:url('https://i.pinimg.com/originals/45/cf/a8/45cfa8e8fef45c356253cf9938a4cc9c.jpg');
background-repeat:no-repeat;background-size:1500px;">
<div style="background:dodgerblue;margin-top:50px; margin-bottom:
30px;color:white;margin-top:0px">
<div>
<form name="reg" action="composedb.jsp" method="post" onsubmit="return
validate()">
<table class="pos_left" align="center" CELLPADDING="15" >
<tr>
<td>SENDTO: </td>
<td><input type="email" maxlength="100" name="sendto" size="70px" required></td>
</tr>
<tr>
<td>SUBJECT: </td><td><input type="text" maxlength="100"
name="subject" size="70px" required=""></td>
</tr><tr><td>BODY </td><td>
<textarea name="txt" rows="15" cols="70" id="fileList">
</textarea> </td>
<script>
updateList = function() {
var input = document.getElementById('files');
try
{
Class.forName("com.mysql.jdbc.Driver");
Connection con=DriverManager.getConnection("jdbc:mysql://127.0.0.1/mail","root","");
Statement st=con.createStatement();
ResultSet rs=st.executeQuery("select *from registration where Emailid='"+sendto+"'");
if(rs.next())
{
int i=st.executeUpdate("insert into sentmail
values('"+sendto+"','"+subject+"','"+body+"','"+email+"',now(),'"+status+"')");
int j=st.executeUpdate("insert into receivemail
values('"+sendto+"','"+subject+"','"+body+"','"+email+"',now(),'"+status+"')");
if(i>0||j>0)
{
%>
<script>
alert("Mail sent successfully");
window.location="compose.jsp";
</script>
<%
}
}
else
{
%>
<script>
alert("Email Id Is Does not Exist");
window.location="compose.jsp";
</script>
<%
}
}
catch(Exception e)
{
out.println(e);
}
%>
try
{
Class.forName("com.mysql.jdbc.Driver");
Connection con =DriverManager.getConnection ("jdbc:mysql://127.0.0.1/mail", "root", "");
PreparedStatement ps=con.prepareStatement("update sentmail set status=now() "
+ "where sender='"+sendto+"' and subject='"+subject+"' ");
ps.executeUpdate();
%>
<script type="text/javascript">
window.location="viewcontent.jsp";
</script>
<%
}
catch(Exception e1)
{
out.println(e1.getMessage());
}
%>
5. Testing
5.1 Overview
Software testing is a process, to evaluate the functionality of a software application with
an intent to find whether the developed software met the specified requirements or not
and to identify the defects to ensure that the product is defect free in order to produce the
quality product.
As per the current trend, due to constant change and development in digitization, our
lives are improving in all areas. The way we work is also changed. We access our bank
online, we do shop online, we order food online and many more. We rely on software’s
and systems. What if these systems turnout to be defective? We all know that one small
bug shows huge impact on business in terms of financial loss and goodwill. To deliver a
quality product, we need to have Software Testing in the Software Development Process.
Some of the reasons why software testing becomes very significant and integral part in
the field of information technology are as follows.
1. Cost effectiveness
2. Customer Satisfaction
3. Security
4. Product Quality
F=Failed
1 Login as Home page for Sender home P
Sender with Sender should page is
correct login be displayed displayed
credentials
6. Screenshots
Screenshot 6.9 User (Receiver) opened her mail and viewed the content in mail
Screenshot 6.11 Status Is Updated To Date and Time in Sender Side When Receiver Opened
Her Mail.
• This also displays the time and date when the receiver opens the mail.
• Further modifications can be applied as of, change in the colour of notification along
with online status
• The sender can be made to receive a notification as soon as the receiver reads the mail
8. References
• Java database programming 2nd edition by pratik Patel and moss, published by
coriolis group
https://www.codejava.net/coding/upload-files-to-database-servlet-jsp-mysql
https://www.tutorialspoint.com/uml/uml_standard_diagrams.htm
https://www.lucidchart.com/blog/types-of-UML-diagrams