Sunteți pe pagina 1din 48

AUTOMATED EMAIL RESULTS SYSTEM

A mini project dissertation submitted to the VALLURUPALLI NAGESHWARA RAO

INSTITUTE OF ENGNEEING AND TECHNOLOGY in partial fulfillment of the


requirements for the award of the degree of

BACHELOR OF TECHNOLOGY

IN
INFORMATION TECHNOLOGY

Submitted by
M.AJAY BABU (12075A1201),

K.NAVYA (11071A1228),

SHRUTHI R.(11071A1241)

Under the guidance of


Dr. N. Mangatayaru, Professor, Vnr Vignana Jyothi Institute Of Engg &Tech.

---------------------------------------------------------------------------------
-------------------
DEPARTMENT OF INFORMATION TECHNOLOGY
VALLURUPALLI NAGESHWARA RAO VIGNANA JYOTHI INSTITUTE OF
ENGINEERING AND TECHNOLOGY
HYDERABAD
(Approved by AICTE, New Delhi & Affiliated to JNTU, Hyderabad )
2011-2015
I
VALLURUPALLI NAGESWARA RAO VIGNANA JYOTHI INSTITUTE OF
ENGINEERING AND TECHNOLOGY

(Approved by AICTE, New Delhi & Affiliated to JNTU,HYD)

CERTIFICATE

This is to certify that M.AJAY BABU(12075A1201),K.NAVYA


(11071A1228),SHRUTHI R.(11071A1241) have successfully completed their mini
project work entitled AUTOMATED EMAIL RESULTS SYSTEM in partial
fulfillment of the requirements for the award of B.tech degree during the academic
year 2011-2015. This work is carried out under my supersion and has not been
submitted to any other university/Institute for award of any degree/diploma.

Dr. N. Mangathayaru G. Suresh Reddy

Project Guide Assoc. Professor

Professor Head of Department

IT Department IT Department

VNR VJIET VNRVJIET


VNR VIGNANA JYOTHI INSTITUTE OF ENGINEERING
AND TECHNOLOGY
-------------------------------------------------------------------------------------------------------------------------

CERTIFICATE

This is to certify that M. Ajay Babu (12075A1201) has successful completed their
mini project work at vnr vignana jyothi institute of engineering and technology
entitled Automated Email Results System in partial fulfillment of the requirements
for the award of B.Tech degree during the academic year 2013-2014.

This work is carried out under my supervision and has not been submitted to any
other University/Institute for award of any degree/diploma.

Dr. N. Mangathayaru

Professor

mangathayaru_n@vnrvjiet.in

--------------------------------------------------------------------------------------------------------
VNR VIGNANA JYOTHI INSTITUTE OF ENGINEERING
AND TECHNOLOGY
-------------------------------------------------------------------------------------------------------------------------

CERTIFICATE

This is to certify that k .Navya (11071A1228) has successful completed their mini
project work at vnr vignana jyothi institute of engineering and technology entitled
Automated Email Results System in partial fulfillment of the requirements for the
award of B.Tech degree during the academic year 2013-2014.

This work is carried out under my supervision and has not been submitted to any
other University/Institute for award of any degree/diploma.

Dr. N. Mangathayaru

Professor

mangathayaru_n@vnrvjiet.in

--------------------------------------------------------------------------------------------------------
VNR VIGNANA JYOTHI INSTITUTE OF ENGINEERING
AND TECHNOLOGY
-------------------------------------------------------------------------------------------------------------------------

CERTIFICATE

This is to certify that Shruthi r.(11071A1241) has successful completed their mini
project work at vnr vignana jyothi institute of engineering and technology entitled
Automated Email Results System in partial fulfillment of the requirements for the
award of B.Tech degree during the academic year 2013-2014.

This work is carried out under my supervision and has not been submitted to any
other University/Institute for award of any degree/diploma.

Dr. N. Mangathayaru

Professor

mangathayaru_n@vnrvjiet.in

--------------------------------------------------------------------------------------------------------
DECLARATION

I hereby declare that the project work AUTOMATED EMAIL RESULTS SYSTEM
submitted towards partial fulfillment of requirements for the Degree of Bachelor of
Technology in Information Technology to VNR Vignana Jyothi Institute Of
Engineering and Technology, Hyderabad, is an authenticate work and had not been
subimitted to any other university or institute for any award of degree of diploma.

M.AJAY BABU(12075A1201)

K.NAVYA (11071A1228)

SHRUTHI R.(11071A1241)

II
ACKNOWLEDGEMENT

The development of this mini project though it was an arduous task, has been
successfully completed. We are pleased to express our thanks to these people, whose
suggestions, comments and critics greatly encouraged us in the betterment of this
project.

We are very much thankful to Mr. G. Suresh Reddy, Head Of I.T Department for
giving us permission to do this project work.

It is great pleasure for us to express our deep sense of gratitude to Dr. N.


Mangathayaru, Professor, I.T Department and Mr. M. Koteswara Rao, Asst.
Professor,I.T Department for their esteemed guidance in preparation of this project.
It is only due to their close supervision and excellent suggestions that we could
complete this project work successfully.

Finally we thank all the people who helped us complete this project successfully.

M.AJAY BABU

K.NAVYA

SHRUTHI R.

III
TABLE OF CONTENTS

Pg.no

1. INTRODUCTION 7-8

1.1 PURPOSE
1.2 PRODUCT SCOPE
1.3 PROJECT SCOPE

2. LITERATURE STUDY 9-14


2.1 ENVIRONMENT
2.2 EXISTING SYSTEM
2.3 PROPOSED SYSTEM

3. ANALYSIS 15-16
3.1 APPROCH METHOD
3.2 SOFTWARE REQUIREMENT SPECIFICATIONS
3.2.1 SOFTWARE REQUIREMENTS
3.2.2 HARDWARE REQUIREMENTS

4. DESIGN 17-24
4.1 UML- DIAGRAMS

5. IMPLEMENTATION 25-30

6. EXECUTION SCREENS 31-36

IV
7. TESTING 37-40

8. CONCLUSION 41

V
ABSTRACT

In educational institutions like ours, declaring results through the college portal
seems like a tedious job. The site crashes once too many people login and then,
it takes even longer for the site to work. Automated E-results System is a web
based application, and the main objective of the proposed system is to tackle
the complications given by the old system. It automatically sends semester
results to all the students respective email addresses. This application takes
two .CSV(comma separated values) files as input, one containing students
email addresses and the other file containing marks of all the students. Based on
the Hall ticket number of each student, script extracts marks and sends it to the
corresponding email address in a well formatted html table. Swift mailer library
has been used for sending emails by connecting to a remote SMTP server. An
added advantage of the application is the high security concerns are met
efficiently.

VI
1. INTRODUCTION

1.1 PURPOSE

To automate, means to control a process through automation. It means, to make a


process easier and faster than the old system. Automated E-Results System has a
genuine approach to make the process less convoluted. The project has separate login
credentials for the admin panel, to send the scores. It uses various website
development technologies like Bootstrap, HTML, CSS and PHP. It has a very basic
design so that it is unambiguous to the user. After matching the right credentials the
user is directed to the home page and then to the file uploading page, where the
admin has to attach the CSV files. The purpose of using .CSV (Comma Separated
Values) files is, it is smaller in size and will be a quick upload. It is less complex,
human readable and easy to edit manually. When we send the report of the scores to
the designated user IDs with this application, we are saving a lot of time and cost.
Several sites face security issues like SQL injection and cross-site scripting. SQL
injection is a code injection technique, used to attack data-driven applications, in
which malicious SQL statements are inserted into an entry field for execution (e.g. to
dump the database contents to the attacker). Cross-site scripting (XSS) is a type of
computer security vulnerability typically found in Web applications. XSS enables
attackers to inject client-side script into Web pages viewed by other users. A cross-
site scripting vulnerability may be used by attackers to bypass access controls such as
the same origin policy.

7
Our web application meets the concerns of such security issues, by using functions
available in PHP. The advantages of using PHP are, its easy and has various levels
of security. It supports all major databases and is platform independent.

The aim of using this web application is to make the process simpler and faster
with a modish approach.

1.2 PRODUCT SCOPE

Language: PHP (Hypertext Pre-processor)

PHP is a server-side scripting language designed for web development but also
used as a general-purpose programming language.

1.3 PROJECT SCOPE

The application that is proposed consists of the following features:

We upload .CSV files as they are small in size and hence, upload faster.
Swift mailer library is used, because it handles large attachments with
embedded images and also with low memory use.

8
2. LITERATURE SURVEY

2.1 ENVIRONMENT

PHP development began in 1994 when Rasmus Lerdorf wrote a series of Common
Gateway Interface (CGI) binaries in C, which he used to maintain his personal
homepage. He extended them to add the ability to work with web forms and to
communicate with databases, and called this implementation "Personal Home
Page/Forms Interpreter" or PHP/FI.

OVERVIEW OF PHP

PHP is a server-side scripting language designed for web development but also used
as a general-purpose programming language. As of January 2013, PHP was installed
on more than 240 million websites (39% of those sampled) and 2.1 million web
servers .Originally created by Rasmus Lerdorf in 1994,the reference implementation
of PHP (powered by the Zend Engine) is now produced by The PHP Group. While
PHP originally stood for Personal Home Page, it now stands for PHP: Hypertext
Preprocessor, which is a recursive backronym.

9
PHP code can be simply mixed with HTML code, or it can be used in combination
with various templating engines and web frameworks. PHP code is usually processed
by a PHP interpreter, which is usually implemented as a web server's native module or
a Common Gateway Interface (CGI) executable. After the PHP code is interpreted and
executed, the web server sends resulting output to its client, usually in form of a part
of the generated web page for example, PHP code can generate a web page's HTML
code, an image, or some other data. PHP has also evolved to include a command-line
interface (CLI) capability and can be used in standalone graphical applications.

The canonical PHP interpreter, powered by the Zend Engine, is free software released
under the PHP License. PHP has been widely ported and can be deployed on most
web servers on almost every operating system and platform, free of charge.

Despite its popularity, no written specification or standard exists for the PHP
language; instead, the canonical PHP interpreter serves as a de facto standard.
However, work on creating a formal specification has started in 2014

PHP 6 and Unicode

PHP received mixed reviews due to lacking native Unicode support at the core
language level ,In 2005, a project headed by Andrei Zmievski was initiated to bring
native Unicode support throughout PHP, by embedding the International Components
for Unicode (ICU) library, and representing text strings as UTF-16 internally .Since
this would cause major changes both to the internals of the language and to user code,
it was planned to release this as version 6.0 of the language, along with other major
features then in development.

10
However, a shortage of developers who understood the necessary changes, and
performance problems arising from conversion to and from UTF-16, which is rarely
used in a web context, led to delays in the project. As a result, a PHP 5.3 release was
created in 2009, with many non-Unicode features back-ported from PHP 6, notably
namespaces. In March 2010, the project in its current form was officially abandoned,
and a PHP 5.4 release was prepared containing most remaining non-Unicode features
from PHP 6, such as traits and closure re-binding. Initial hopes were that a new plan
would be formed for Unicode integration, but as of 2014 none has been adopted.

PHP 7

As of 2014, work is underway on a new major PHP version named PHP 7. There was
some dispute as to whether the next major version of PHP was to be called PHP 6 or
PHP 7. While the PHP 6 unicode experiment had never been released, a number of
articles and book titles referenced the old PHP 6 name, which might have caused
confusion if a new release were to reuse the PHP 6 name. After a vote, the name
PHP 7 was chosen. PHP 7 gets its foundations from an experimental PHP branch that
was originally named PHPNG (PHP Next Generation), which aims at optimizing PHP
performance by refactoring the Zend Engine while retaining near-complete language
compatibility. As of 14 July 2014, Word Press-based benchmarks, which serve as the
main benchmark suite for PHPNG project, show an almost 100% increase in
performance. Changes from PHPNG are also expected to make it easier to improve
performance in the future, as more compact data structures and other changes are seen
as better suited for a successful migration to a just-in-time (JIT) compiler.

11
PHP 7 will also contain an improved variable syntax which is internally consistent and
complete, resolving a long-standing issue in PHP. This will allow use of ->, [], (), {},
and :: operators with arbitrary meaningful left-hand-side expressions.

HTTP authentication with PHP

It is possible to use the header() function to send an "Authentication Required" message to


the client browser causing it to pop up a Username/Password input window. Once the
user has filled in a username and a password, the URL containing the PHP script will
be called again with the predefined variables PHP_AUTH_USER, PHP_AUTH_PW,
and AUTH_TYPE set to the user name, password and authentication type respectively.
These predefined variables are found in the $_SERVER and $HTTP_SERVER_VARS
arrays. Both "Basic" and "Digest" (since PHP 5.1.0) authentication methods are
supported. See the header() function for more information.

Sessions

Session support in PHP consists of a way to preserve certain data across subsequent
accesses. This enables you to build more customized applications and increase the
appeal of your web site. All information is in the Session reference section.

Cookies

PHP transparently supports HTTP cookies. Cookies are a mechanism for storing data
in the remote browser and thus tracking or identifying return users. You can set
cookies using the setcookie() or setrawcookie() function.

12
Cookies are part of the HTTP header, so setcookie() must be called before any output
is sent to the browser. This is the same limitation that header() has. You can use the
output buffering functions to delay the script output until you have decided whether or
not to set any cookies or send any headers.

Any cookies sent to you from the client will automatically be included into a
$_COOKIE auto-global array if variables order contains "C". If you wish to assign
multiple values to a single cookie, just add [] to the cookie name.

Depending on register globals, regular PHP variables can be created from cookies.
However it's not recommended to rely on them as this feature is often turned off for
the sake of security. $HTTP_COOKIE_VARS is also set in earlier versions of PHP
when the track vars configuration variable is set. (This setting is always on since PHP
4.0.3.)

For more details, including notes on browser bugs, see the setcookie() and
setrawcookie() function.

Uploading multiple files

Multiple files can be uploaded using different name for input.

It is also possible to upload multiple files simultaneously and have the information
organized automatically in arrays for you. To do so, you need to use the same array
submission syntax in the HTML form as you do with multiple selects and checkboxes:

13
2.2 EXISTING SYSTEM

As we all know the existing results system have a portal which consist s of a text box
for the entry of hall ticket number and a submit button. On submit we get our
results.But the main problem we get is the server down or the session unavailable.

As every individual is eager to know their respective results, every one will check out
the results link which makes the server down in service.

2.3 PROPOSED SYSTEM

To eradicate that problem we have developed a system to make every individual get
his/her results to their respective email addresses. The process is to have the student
details and their marks, then this portal will send mails to each and every student.

To automate, means to control a process through automation. It means, to make a


process easier and faster than the old system. Automated E-Results System has a
genuine approach to make the process less convoluted.

14
3.ANALYSIS

3.1 APPROCH METHOD

To automate, means to control a process through automation. It means, to make a


process easier and faster than the old system. Automated E-Results System has a
genuine approach to make the process less convoluted. The project has separate login
credentials for the admin panel, to send the scores. It uses various website
development technologies like Bootstrap, HTML, CSS and PHP. It has a very basic
design so that it is unambiguous to the user. After matching the right credentials the
user is directed to the home page and then to the file uploading page, where the
admin has to attach the CSV files. The purpose of using .CSV (Comma Separated
Values) files is, it is smaller in size and will be a quick upload. It is less complex,
human readable and easy to edit manually. When we send the report of the scores to
the designated user IDs with this application, we are saving a lot of time and cost.
Several sites face security issues like SQL injection and cross-site scripting. SQL
injection is a code injection technique, used to attack data-driven applications, in
which malicious SQL statements are inserted into an entry field for execution (e.g. to
dump the database contents to the attacker). Cross-site scripting (XSS) is a type of
computer security vulnerability typically found in Web applications. XSS enables
attackers to inject client-side script into Web pages viewed by other users. A cross-
site scripting vulnerability may be used by attackers to bypass access controls such as
the same origin policy.

15
Our web application meets the concerns of such security issues, by using functions
available in PHP. The advantages of using PHP are, its easy and has various levels
of security. It supports all major databases and is platform independent.

3.2 SOFTWARE REQUIREMENT SPECIFICATIONS

3.2.1 SOFTWARE REQUIREMENTS

Operating System : Windows XP/higher version


Application Server : Apache HTTP 2.4.9
Front end : Bootstrap,HTML,CSS
Backend : PHP
Database : MYSQL
Library : Swift Mailer

3.2.2 HARDWARE REQUIREMENTS

Processor : Pentium-IV
RAM : 512 MB(Min)
Hard Disk : 40 GB(Min)
16

4.DESIGN

4.1 UML DIAGRAM

The Unified Modeling Language (UML) is a general-purpose modeling language in


the field of software engineering, which is designed to provide a standard way to
visualize the design of a system.

It was created and developed by Grady Booch, Ivar Jacobson and James
Rumbaugh at Rational Software during 199495 with further development led by
them through 1996.

In 1997 it was adopted as a standard by the Object Management Group (OMG), and
has been managed by this organization ever since. In 2000 the Unified Modeling
Language was also accepted by the International Organization for
Standardization (ISO) as an approved ISO standard. Since then it has been
periodically revised to cover the latest revision of UML. [2]

The Unified Modeling Language is a standard visual modeling language intended to


be used for
modeling business and similar processes,
analysis, design, and implementation of software-based systems
17
UML is a common language for business analysts, software architects and developers
used to describe, specify, design, and document existing or new business processes,
structure and behavior of artifacts of software systems.
UML can be applied to diverse application domains (e.g., banking, internet,
aerospace, healthcare, etc.) It can be used with all major object and
component software development methods and for various implementation
platforms (e.g., J2EE, .NET).
UML is a standard modeling language, not a software development process.Uml
explained that process:
provides guidance as to the order of a teams activities,
specifies what artifacts should be developed,
directs the tasks of individual developers and the team as a whole, and
offers criteria for monitoring and measuring a projects products and activities.
UML is intentionally process independent and could be applied in the context of
different processes. Still, it is most suitable for use case driven, iterative and
incremental development processes. An example of such process is Rational Unified
Process (RUP).
UML is not complete and it is not completely visual. Given some UML diagram, we
can't be sure to understand depicted part or behavior of the system from the diagram
alone. Some information could be intentionally omitted from the diagram, some
information represented on the diagram could have different interpretations, and some
concepts of UML have no graphical notation at all, so there is no way to depict those
on diagrams.

18
For example, semantics of multiplicity of actors and multiplicity of use cases on use
case diagrams is not defined precisely in the UML specification and could mean either
concurrent or successive usage of use cases.
Name of an abstract classifier is shown in italics while final classifier has no specific
graphical notation, so there is no way to determine whether classifier is final or not
from the diagram.

19
CLASS DIAGRAM

20
USECASE DIAGRAM

21
ACTIVITY DIAGRAM

22
SEQUENCE DIAGRAM

LOGIN:

23
SEQUENCE DIAGRAM

UPLOAD FILES AND SEND MAIL

24
5. IMPLEMENTATION

LOGIN MODULE CODE:

<!DOCTYPE html>

<?php

session_start();

$success=$notfound=$err="";

if($_SERVER["REQUEST_METHOD"]=="POST")

//get username and password

$uname=mysql_real_escape_string($_POST["uname"]);

$password=mysql_real_escape_string($_POST["password"]);

if(!empty($uname) && !empty($password)){

//if both are set then connect to database

require("config.php");

//query to if credentials exits in the database

$query="SELECT * FROM `admin` WHERE


`password`='$password' && name='$uname'";

$res=mysql_query($query) or die("unable to connect to


database");

25
$final=mysql_fetch_array($res);

if($password==$final["password"] &&
$uname==$final["name"]){

//if credentials exist then register the session and redirect


to main page

$_SESSION["name"]=$uname;

header('Location:home.php');

else{

$err="<font color=\"red\">Username and password not


matching!</font>";

else{

$err="<font color=\"red\">Fill All the fields and try


again!</font>";

?>

26
<html>

<head lang="en">

<meta charset="utf-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css" type="text/css">

<script type="text/javascript" src="js/bootstrap.min.js"></script>

</head>

<body>

<h4 style="margin-top:0px; background-color:#FEFEFE;

padding-bottom:8px; padding-top:10px;" class="text-primary well">

<img src="icons/logo.jpg" height="60px" />

&nbsp;&nbsp;&nbsp;

Vnr Vignana Jyothi Institute Of Engineering And Technology

</h4>

<div class="container" style="margin-bottom: 5px;

padding-bottom:6px; margin-top:5px; ">

<div class="row">

<div class="col-md-12" >

27
<!--header-->

</div>

</div>

</div>

<div class="container" >

<div class="row">

<div class="col-md-offset-4 col-sm-4 col-xs-2">

<?php

if(!empty($err)){

echo "<div class=\"alert alert-danger\" style=\"width:360px; text-align:center;\">".

"<img src=\"icons/cancel.png\">&nbsp;&nbsp;&nbsp; " .$err."</div>";

?>

</div>

</div>

</div>

<div class="container">

<div class="row">

28
<div class="col-md-offset-4 col-sm-4 col-xs-2">

<div class="panel panel-default" style="width:360px; margin-top: 1px;">

<div class="panel-heading">

<h3 class="panel-title">

<img src="icons/lightning.png"> Admin Login</h3>

</div>

<div class="panel-body">

<form method="post" action="<?php echo


htmlspecialchars($_SERVER["PHP_SELF"]);?>" >

<p><img src="icons/user.png" alt="&raquo;"> Username :</p>

<input type="text" name="uname" class="form-control" placeholder="User


Name">

<br/>

<p><img src="icons/key.png" alt="&raquo;"> Password :</p>

<input type="password" name="password" class="form-control"


placeholder="Password">

<br/>

<input type="submit" class="btn btn-default" value="Login">

29
</form>

</div>

</div>

</div>

</div>

</div>

<!--<nav class="navbar navbar-inverse navbar-fixed-bottom" role="navigation">

<p class="text-center" style="color:#fff;">&copy; VNR VJIET</p>

</nav>-->

<nav class="navbar navbar-default navbar-fixed-bottom" role="navigation">

<p class="text-center" style="color:#333; ">&copy; VNR VJIET

<br>

2014 All Rights Reserved.

</p>

</nav>

</body>

</html>

30
6.EXECUTION SCREENS

ADMIN LOGIN

31
HOME PAGE

32
UPLOADING MARKS FILE

33
UPLOADING EMAIL FILE

34
PREVIEWING THE UPLOADED RESULTS

35
SENDING MAILS

36
7.TESTING

Software testing is a process used to identify the correctness, completeness and quality
of developed computer software. Actually, testing can never establish the correctness
of computer software, as this can only be done by formal verification (and only when
there is no mistake in the formal verification process). It can only find defects, not
prove that there are none. The kinds of testing are:

Unit Testing

System Testing

Integration Testing

Types of Testing

Unit Testing
Functional and reliability testing in an engineering environment is called unit testing.
Producing tests for the behavior of components of a product to ensure their correct
behavior prior to system integration.

Integration Testing
The purpose of integration testing is to verify functional, performance and reliability
requirements placed on major design items. These "design items", i.e. assemblages (or
groups of units), are exercised through their interfaces using Black box testing,
success and error cases being simulated via appropriate parameter and data inputs.
Simulated usage of shared data areas and inter-process communication is tested and
individual subsystems are exercised through their input interface.
37
System Testing
System testing of software or hardware is testing conducted on a complete, integrated
system to evaluate the system's compliance with its specified requirements. System
testing falls within the scope of black box testing, and as such, should require no
knowledge of the inner design of the code or logic.

Black Box Testing


An approach to testing used by analyst and users alike where inputs and outputs of
functions are known, but internal code structure is irrelevant. It is a form of testing
which identified various inputs and maps them to specific output behaviors, without
targeting specific software components or portions of the code.

Functional Testing
In this type of testing, the software is tested for the functional requirements.
The tests are written in order to check if the application behaves as expected.

38
Test cases
Test case pattern:
Filename: Login.php

Test Input Actual output Obtained Description


output
It checks the
Valid given username
Username & Username & Home Page Home Page and password, if
Password Password they are valid It
returns the Home
page as output
It checks the
Invalid Username & Failed Failed given Username
Username & Password and Password, if
Password they are invalid it
returns the same
page with error
message.

39
Test case pattern:
File name : upload_marks.php

Test Input Actual output Obtained Description


output

The input file


Valid .CSV file .CSV file Success Success should be .csv
containing status!! status!! extension only.
student marks.
For any file type
Invalid .CSV Invalid .CSV Error message! Error other than .csv,
file file containing message! page displays an
student marks. error message.

40
Test case pattern:
File name : preview.php

Test Input Actual output Obtained Description


output

Shows the
Valid Hall Student Hall Student Marks Student Marks preview of the
ticket number Ticket number marks
Shows an error
Invalid Hall Invalid Hall Error message! Error message if no
ticket number ticket number message! such hall ticket
number is found.

41
Test case pattern:
File name : mail_diff.php

Test Input Actual output Obtained Description


output

Email subject file


Empty email Empty email Error message Error message should not be
subject subject blank.
Irrespective of
Send mails to Email Subject Error message Error message System failures,
already sent and Send Mails should be
recipients Button sent to the
recipients only
once.

42
8. CONCLUSION

This application can be used for the announcement of semester results. The script
automatically sends marks to each student by getting their respective email address.
This Application can run in any system with minimum requirements and does not
require any hosting space to host the script. The ability to use remote SMTP server
makes it cost effective. It also guarantees the data integrity from header injection
attacks without stripping request data content. The user-friendly Interface makes it
easy for any non-technical user to use the application without any ambiguity.

43

S-ar putea să vă placă și