Sunteți pe pagina 1din 51

Revision History

Date Version Description Author


24/Jan/06 1.0.0 Mail Management System Rajendra Man Banepali
26/June/06 2.0.0 Instance e-messaging Rajendra Man Banepali

Project Title :-
www.messenger.com

Members:-
Rajendra Man Banepali
Bachelor of Computer Application, 4th Semester
Roll No:- 135138
Enrolment No./ Registration No.:- R1490895134

Institute:-
Loard Buddha Education Fundation (LBEF),
MCRP University, Bhopal
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

Faculty of Computer
Makhanlal Chaturvedi Rashtriya Patrakarita
Vishwavidyalaya, Bhopal

Recommandation

This is certify that project work assignment report

Submitted By:
Rajendra Man Banepali

Entitled
"A project work of e-messaging" has been prepared as
approved by this computer programming department. The
project framework assignment is forward for examination.

Date:-
………………………………………
Mr. Ramesh Suwal
Head of Department
Computer Programming
Lord Buddha Education Foundation

Copy Right© All Right Reserved® 2006


Page 2 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

Acknowledgements

It is my pleasure to present this project report. "www.mess enger.com". As


email development such as communication development has a vital role for the
economic stability and development of country. In today's, modern life one should
know a bit more than past about email. It has great stability among all the past public
not only businessman & professionals. Nepal being a developing country it is not
getting able to develop communication only by the national or domestic
communication.

One who wants to know about email can be taken this work as a reference.
He / she can gather necessary information from it.

I obliged to my family members & my companions for their suggestions, support &
feedback of great value.

I would like to my heart thanks humble gratitude to the state of office of some
organization like Lord Buddha Education Foundation (LBEF) and College of
Software Engineering (CSE) for their valuable suggestion & guidance & I'm also
grateful for its co-operation & co-ordination in providing necessary information.

I would like to extend my sincere gratitude & respect to the teachers and all
friends for his contribution & suggestions at different step to prepare the report.

Rajendra Man Banepali


Bhaktapur-17

Copy Right© All Right Reserved® 2006


Page 3 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

Table of Content
1. PROJECT OUTLINE ..................................................................................................................................................6
1.1 PROJECT N AME:- .......................................................................................................................................................6
1.2 PURPOSE......................................................................................................................................................................6
1.3 OBJECT IVES ACHIEVED SUCCESSFULLY .................................................................................................................6
1.4 PROJECT C ATEGORY .................................................................................................................................................6
1.5 T OOLS E NVIRONMENT USED....................................................................................................................................6
1.5.1 Hardware specification of machine used ...................................................................................................7
1.5.1.1 Pentium 4, Intel Micro Processor...................................................................7
1.5.1.2 RAM 128 MB ................................................................................................7
1.5.1.3 HDD 40 GB ...................................................................................................7
1.5.1.4 Sound System.................................................................................................7
1.5.2 Software used along With the version. .......................................................................................................7
1.5.2.1 Dream Weaver MX ........................................................................................7
1.5.2.2 Edit Plus 2.0.1................................................................................................7
1.5.2.3 Flash MX ........................................................................................................7
1.5.2.4 Languages: - Hypertext Markup Language (HTML) 4.0.0, Active Server
Page (ASP) 3.0, Java script, VB script ..........................................................................7
1.5.2.5 Database: - Ms-Access 2000 , Text Files.......................................................7
1.5.2.6 Microsoft Visio 2003 .....................................................................................7
1.5.2.7 Microsoft Word 2000.....................................................................................7
1.5.2.8 OS – Windows 2000 or higher.......................................................................7
1.5.2.9 WEB Server – Internet Information System (IIS) or IIM ..............................7
1.5.2.10 Microsoft Access OLEDB 4.0...................................................................7
1.6 SCOPE..........................................................................................................................................................................7
1.7 DEFINITIONS , ACRONYMS AND A BBREVIATIONS .................................................................................................7
1.8 OVERVIEW ..................................................................................................................................................................7
2. ANALYSIS AND DESIGN:- ......................................................................................................................................8
2.1 ANALYSIS OF STRUCTURED SYSTEM .......................................................................................................................8
2.2 SITE M AP: ...................................................................................................................................................................9
2.3 ENTITY RELATIONSHIP .............................................................................................................................................9
2.4 DATAFLOW D IAGRAM.............................................................................................................................................10
3. PROGRAM STRUCTURE AN D CODING:-......................................................................................................10
3.1 GLOBAL .ASA ............................................................................................................................................................11
3.2 DEFAULT. ASP ...........................................................................................................................................................11
3.3 ADDRESSB OOK. ASP.................................................................................................................................................11
3.4 CHANGE PASSWORD. ASP.........................................................................................................................................13
3.5 CHECKMAIL.ASP ......................................................................................................................................................15
3.6 COMPOSE.ASP ...........................................................................................................................................................19
3.7 DEFM ESSAGE .ASP ....................................................................................................................................................22
3.8 HOME.ASP .................................................................................................................................................................23
3.9 PERSONALMIAL. ASP ................................................................................................................................................29
3.10 PGDSEREGISTRATION. ASP ...............................................................................................................................31
3.11 SIGNO UTB IN.ASP ...............................................................................................................................................35
3.12 USER PASS.ASP .....................................................................................................................................................36
3.13 VARDARNA .CSS ..................................................................................................................................................37
3.14 OTHERS ................................................................................................................................................................46
4. SYSTEM DESIGN:.....................................................................................................................................................46
4.1 INPUT D ESIGN ..........................................................................................................................................................46
4.1.1 Registration of client...................................................................................................................................46
4.1.2 Login Board..................................................................................................................................................46

Copy Right© All Right Reserved® 2006


Page 4 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

4.1.3 Mail list..........................................................................................................................................................46


4.1.4 Compose mail ...............................................................................................................................................46
4.2 OUTPUT DESIGN ......................................................................................................................................................46
4.3 DATABASE DESIGN .................................................................................................................................................46
4.4 M ODULE LEVEL D ESIGN .........................................................................................................................................47
4.5 DESIGN M ETHODOLOGY.........................................................................................................................................47
4.5.1 Information System Design and Optimization System (ISDOS) :-.......................................................47
4.5.2 Pseudocode:..................................................................................................................................................47
4.5.3 Structured Design (SD) ...............................................................................................................................47
4.5.4 Jackson Design Methodology (JDM).......................................................................................................47
4.5.5 Hierarchy Plus Input, Process, and Output (HIPO)..............................................................................47
4.6 STRUCTURE C HART .................................................................................................................................................48
4.7 T RANSACTION ANALYSIS .......................................................................................................................................48
4.8 SPECIFIC D ATA A BSTRACTION, I NFORMATION H IDING .....................................................................................48
4.9 SYSTEM FLOW ..........................................................................................................................................................48
4.9.1 Home page.....................................................................................................................................................48
4.9.2 Registration client........................................................................................................................................48
4.9.3 Login...............................................................................................................................................................48
4.9.4 Check mail .....................................................................................................................................................49
4.9.5 Compose mail ...............................................................................................................................................49
4.9.6 Change password.........................................................................................................................................49
5. SECURITY OF THE SYSTEM:-............................................................................................................................50
5.1 PHYSICAL SECURITY ...............................................................................................................................................50
5.2 OPERATING SYSTEM LEVEL SECURITY, ...............................................................................................................50
5.3 DATABASE SECURITY, ............................................................................................................................................50
5.4 APPLICATION SECURITY,........................................................................................................................................50
5.5 T RANSACTION SECURITY, ......................................................................................................................................50
5.6 AUTHORIZATION OF T RANSACTION AND P ERIODS E ND RUNS .........................................................................50
5.7 M ASTER FILE AND P ARAMETER M AINTENANCE ................................................................................................50
5.8 SYSTEM ADMINISTRATION .....................................................................................................................................50
6. CONCLUSION:-..........................................................................................................................................................50
7. BIBLIOGRAPHY: -....................................................................................................................................................51

Copy Right© All Right Reserved® 2006


Page 5 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

1. Project outline
1.1 Project Name:-
www.messenger.com is project name. it is web base application wish simulate the email
system of the web base system as hotmail.com and yahoo.com

1.2 Purpose
The purpose of this Project Report document is to provide a detailed overview of Mail
Management System, its parameters and goals. Messenger.com is web base system so every
where we can access it for our own uses of mail and sharing information. This basically
developed for offline messaging system where internet is so much expensive such like a
small institute of Nepal. They can use it for simulation of mail server system. Actually this
system is developed first time when I was teaching in remote are where internet is far due to
economic status. But we should give facilities to students and others if our small effort works.
In additional we can manage online chatt ing and online internal opened messaging using
message board. This document describes the project's target audience and its user interface,
hardware and software requirements. It defines how our client, team and audience see the
product and its functionality.
www.messenger.com (mail management system) is a system for mailing and composing
mails. It’s about messaging and communicating each others. It’s about more than contacts
and meetings. Here, we can get different news and information about related fields, not only
but also share information and others using mail facilities.

We can see mail of same domain and compose for sharing. This site has mainly mail facility
and instance chat room too for conversation in te xt

1.3 Objectives achieved successfully.


Messenger.com is already tested in college of software engineering, Hetauda in the year of
2001, September. It have a facility of offline system. It doest not need internet because we
just use intranet using Internet information system (IIS) even in windows 2000 or windows
server. We can use it even to practice programming in web base application. Its code and
project designation is divided into modules so we can use its modules in our various projects
for reusability. But, do not confuse that we have implemented object oriented programming,
here just we have achieve the module wise programming and central programming only.

1.4 Project Category


As far as I could see I have developed a web base application which has been implementation
in communications. It type of project is call web application. It has used database and
connectivity with text files. So, it is called database application on web base system.

1.5 Tools Environment used


Messenger.com has use different type of software tool to develop this application. These
tools help for types of purposes and achievement. Some of tools are described briefly.

Copy Right© All Right Reserved® 2006


Page 6 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

1.5.1 Hardware specification of machine used


1.5.1.1 Pentium 4, Intel Micro Processor
1.5.1.2 RAM 128 MB
1.5.1.3 HDD 40 GB
1.5.1.4 Sound System
1.5.2 Software used along With the version.
1.5.2.1 Dream Weaver MX
1.5.2.2 Edit Plus 2.0.1
1.5.2.3 Flash MX
1.5.2.4 Languages: - H ypertext Markup Language (HTML) 4.0.0 , Active Server Page (ASP)
3.0, Java script, VB script
1.5.2.5 Database: - Ms-Access 2000 , Text Files
1.5.2.6 Microsoft Visio 2003
1.5.2.7 Microsoft Word 2000
1.5.2.8 OS – Windows 2000 or higher
1.5.2.9 WEB Server – Internet Information System (IIS) or IIM
1.5.2.10 Microsoft Access OLEDB 4.0
1.6 Scope
Mail Management System (MMS) is base on web mail rules and regulation. MMS has
included process of hotmail mail system. MMS is specially use d for composing and mailing
within its own domain. It covered registration of client, viewing mail, sending mail within
same domain and others but we can see only those mail from same domain as OM.com

1.7 Definitions, Acronyms and Abbreviations


MMS (Mail Management System))
WEB Base (through Web application or Internet)
OM – Om Domain of site.
LBEF – Loard Budhha Education Foundation

1.8 Overview
The remaining sections of this document provide a general description, including
characteristics of the users of this project, the product's hardware, and the functionaland data
requirements of the product. Section 2 describe about Analysis and Design. Section 2 should
be included and depicted clearly in the project file such as flow charts, Data flow Diagrams,
Use of Decision table, Structural Analysis, ER Diagram etc. section 3 describe about Program
Structure and Coding. The report should give various lists for ex. Name of variables types
used in the programme, Data structure, no of modules, pseudo – codes, parameter passing
mechanism, files, library uses etc. and also brief explanation of source code and project
scheduling. And others will discuss further more.

Copy Right© All Right Reserved® 2006


Page 7 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

2. Analysis and Design: -


This section should be included and depicted clearly in the project file such as flow charts,
Data flow Diagrams, Use of Decision table, Structural Analysis, ER Diagram etc. This
chapter deals with techniques applied in information system analysis, data modeling and
normalization. This chapter shows a process of providing full specification of systems to
users to help them consider and accept. This specification is also a major information source
for designers of the new system. It not only specifies the system's objectives but also
describes the work and its constraints to which designers have to comply.

2.1 Analysis of structured system


Structural system analysis is a modern approach to different analysis and design phrases of
the system development process which is accepted because of its strong points over other
traditional approaches. The structural system analysis has the following main characteristics:
• The system is developed in the top - down order;
• During system analysis and design, several tools, techniques and models are used to
record and analyze the current system and new requireme nts of users, and define a format
for the future system;
• The major tools used in structural system analysis include: function diagram, data flow
diagram, data dictionary, process specification, entity relationship diagram;

• Separation between physical model and logical model. A physical model is often used in
surveying the current system and designing the new system while a logical model is used
in analyzing system’s requirements. This is a significant advantage brought about by the
structural system analysis method;
• Acknowledging users’ role in different steps of system development;

• Different steps in structural analysis and designing can be carried out at the same time
rather than in one by one order. Each step can improve the analysis and designing made
in a previous step;
• Structural analysis is supported by advanced technology in both hardware and software,
therefore system development with this method is less complicated;
• Structural analysis when put together with the prototype method can help users and
analysts have an idea of the new system and help make best use of both methods.

Copy Right© All Right Reserved® 2006


Page 8 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

2.2 Site Map:

2.3 Entity Relationship

Copy Right© All Right Reserved® 2006


Page 9 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

2.4 Dataflow Diagram

3. Program Structure and Coding: -


The report should give various lists for ex. Name of variables types used in the programme,
Data structure, no of modules, pseudo – codes, parameter passing mechanism, files, library
uses etc. and also brief explanation of source code and project scheduling. Basically, mostly
ASP six objects are used for programming and variant types of variables are used in web
page application. Let's see the coding structure of files.

Name of Files in the application


SN Page Name Purpose
1 Global.asa WEB configuration
2 Default.asp Startup file
3 AddressBook.asp To save email address
4 ChangePassword.asp To change password
5 Checkmail.asp To check mail (inbox)

Copy Right© All Right Reserved® 2006


Page 10 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

6 Compose.asp To compose the mail


7 defMessage.asp To view default message on home page
8 Home.asp Home page of all
9 Personalmial.asp To view individual mail
10 PGDSEregistration.asp New User registration
11 SignOutBin.asp Signing out from the session
12 userPass.asp Logon form
13 Vardarna.css Cascading style sheet.
14 Others

Live Code of Application


WEB configuration
3.1 Global.asa

<script language=vbscript runat=server>

sub session_onstart()
application.lock
application("viewer")=application("viewer")+10
application.unlock
session("ipid")=Request.ServerVariables("REMOTE_ADDR")
end sub

sub Session_OnEnd()
application.lock
application("onlineuser")= application("onlineuser") - 1
application.unlock
end sub

</script>

3.2 Default.asp Startup file

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"


"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> ::: Management System :::</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../design/vardana.css" rel="stylesheet" type="text/css">
</head>
<body>
<%Response.Redirect("pages/home.asp")%>
</body>
</html>

To save email address


3.3 AddressBook.asp

Copy Right© All Right Reserved® 2006


Page 11 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

<HTML>
<HEAD>
<TITLE> sahara software </TITLE>
<link rel="stylesheet" href="design/vardana.css" type="text/css">
<%
'dim rst, sql, cnn, file, id, rst2, maid
'set cnn=server.createobject("adodb.connectio n")
set rst2=server.createobject("adodb.recordset")

'sql= request.cookies("sysmap")
'cnn.open sql

id=request.cookies("id")
maid=request.cookies("user")

response.cookies("id")=id
response.cookies("user")=maid
Cname = Request.cookies("cName")

rst2. open "select * from tbl_client where clientid=" & id,conn


%>

<style>
.saharabtn{color:#0033FF;background:#95CAFF;border-color:#95CAFF}
.saharabtn1{color:#0033FF;background:#95CAFF;border-color:#95CAFF;border:0}
.style1 {color: #FFFFFF}
</style>
</HEAD>
<BODY vlink=white alink=white link=white bgcolor=#0061A8 topmargin=0 leftmargin=0>
<TABLE width="100%" border=0 bgcolor=#E1F1FF>
<TR>
<TD><TABLE cellPadding=0 cellSpacing=0 >
<TR>
<TD width=20 height="18" background=..\image\color3.gif></TD>
<TH background=..\image\color5.gif><A
href="?page=2" class="style1">Inbox</A></TH>
<TD background=..\image\color2.gif width=20></TD>
<TD background=..\image\color3.gif width=20></TD>
<TH background=..\image\color5.gif> <A
href="?page=3" class="style1"> Compose </A></TH>
<TD background=..\image\color2.gif width=20></TD>
<TD background=..\image\color3.gif width=20></TD>
<TH background=..\image\color5.gif> <A
href="?page=6" class="style1 style2"> Add Book &nbsp; </A></TH>
<TD background=..\image\color2.gif width=20></TD>
<TD> &nbsp; <a href="?page=7">Ch. Passpass </a>| <a href="?page=8">Logout</a> </TD>
</TR>
<TR>
<TD height="18" colspan="10">Welcome to <%=Cname%></TD>
</TR>

Copy Right© All Right Reserved® 2006


Page 12 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

</TABLE></td>
</TR>
<TR>
<TD align=center>
<form>
<!--Compose Mail-->
<TABLE>
<TR> <TD>First name</TD>
<TD><INPUT TYPE="text" NAME="" accesskey=f></TD>
</TR>
<TR> <TD>Last Name</TD>
<TD><INP UT TYPE="text" NAME="" accesskey=l></TD>
</TR>
<TR> <TD>Address</TD>
<TD><INPUT TYPE="text" NAME="" accesskey=a></TD>
</TR>
<TR> <TD>e-mail</TD>
<TD><INPUT TYPE="text" NAME="" accesskey=e></TD>
</TR>
</TABLE><hr>
<INPUT TYPE="button" value="save">
<INPUT TYPE="button" value="Back" onclick="history.go( -1)">
<!--Compose Mail-->
</form></td></TR></TABLE></BODY></HTML>

3.4 ChangePassword.asp To change password

<HTML>
<HEAD>
<TITLE> sahara software </TITLE>
<%
'dim rst, rst3, sql, cnn, file, id, rst2, maid, info, inmailStr
'dim uto,usubject,umass

'set cnn=server.createobject("adodb.connection")
set rst=server.createobject("adodb.recordset")

'sql= request.cookies("sysmap")
'cnn.open sql

id=request.cookies("id")
maid=request.cookies("user")

response.cookies("id")=id
response.cookies("user")=maid

if request.querystring("mode")="change" then
rst.open "select pw from tbl_client where clientid=" & id,conn

Copy Right© All Right Reserved® 2006


Page 13 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

if(request.form("txtpw")=rst.fields("pw")) then
conn.execute "update tbl_client set pw='" & request.form("txtpw1") & "' where clientid="
& id
info= "Password changed"
elseif(len(request.form("txtpw"))<=0)then
info="password empty or zero length"
else
info="Invalud old password"
end if
end if
%>
<style>
</style>
<link href="../design/vardana.css" rel="stylesheet" type="text/css">
<style type="text/css"><!--.style1 {color: #FFFFFF}-->
</style>
</HEAD>
<BODY vlink=white alink=white link=white bgcolor=#0061A8 topmargin=0 leftmargin=0>
<form name="frmchange" method=post action="changepassword.asp?mode=change">
<TABLE width="100%" border=0 bgcolor=#E1F1FF>
<TR> <TD valign=top><TABLE cellPadding=0 cellSpacing=0 >
<TR> <TD width=20 height="18" background=..\image\color3.gif></TD>
<TH background=..\image\color5.gif><A href="?page=2" class="style1">Inbox</A></TH>
<TD background=..\image\color2.gif width=20></TD>
<TD background=..\image\color3.gif width=20></TD>
<TH background=..\image\color5.gif> <A href="?page=3" class="style1"> Compose </A></TH>
<TD background=..\image\color2.gif width=20></TD>
<TD background=..\image\color3.gif width=20></TD>
<TH background=..\image\color5.gif> <A href="?page=6" class="style1 style2"> Add Book &nbsp;
</A></TH> <TD background=..\image\color2.gif width=20></TD><TD> &nbsp; <B><%=maid%>
</B> </TD> </TR> </TABLE></td> </TR><TR> <TD valign=top>
<!--Compose Mail-->
<FONT SIZE="" COLOR="#339900"> Change Password</FONT>
<hr color=#0099FF> <CENTER><TABLE>
<TR> <TD>Old Password :</TD><TD><INPUT TYPE="password" NAME="txtpw"></TD>
</TR> <TR> <TD>Password :</TD><TD><INPUT TYPE="password" NAME="txtpw1"></TD>
</TR> <TR><TD colspan=2> <CENTER><INPUT TYPE="submit" value="Change Password"
class=saharabtn1></CENTER></TD></TR></TABLE><br>
<FONT COLOR="#0066FF">Old password must be same to previous <BR> and shold be same new
password</FONT><TABLE><TR>
<TD bgcolor=#FFCC33><FONT SIZE="" COLOR="#333366s"><% = info %>
</FONT></TD></TR></TABLE></CENTER>
<!--Compose Mail--> </td></TR>
</TABLE></form></BODY></HTML>
<SCRIPT LANGUAGE="JavaScript"><!--
function sentmailfast() {
document.frmcompose.method="post";
document.frmcompose.action="compose.asp?mode=sent";
document.frmcompose.submit(); } //--></SCRIPT>

Copy Right© All Right Reserved® 2006


Page 14 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

To check mail (inbox)


3.5 Checkmail.asp

<HTML>
<HEAD>
<link rel="stylesheet" href="design/vardana.css" type="text/css">
<TITLE> sahara software </TITLE>
<%
If(request.querystring("mode")="checkmail") Then
session("infoid")= request.querystring("id")
response.redirect("?page=5")
End If

'dim rst, sql, cnn, file, id, rst2, maid, info


'set cnn=server.createobject("adodb.connection")
set rst2=server.createobject("adodb.recordset")
set rst=server.createobject("adodb.recordset")
sql= request.cookies("sysmap")
'cnn.open sql
CurrentPage = Query("CurrentPage")
if CurrentPage = "" or CurrentPage<=0 then
CurrentPage = 1
end if
Rst.PageSize = 5
'Rst.LockType = 1
'Rst.CursorLocation = 1

id=request.cookies("id")
maid=request.cookies("user")
Cname = Request.cookies("cName")

response.cookies("id")=id
response.cookies("user")=maid

rst.open "select * from tbl_maildot where clientid=" & id,conn, 1


rst2.open "select count(*) from tbl_maildot where clientid=" & id,conn
infocount = rst2.fields(0)

Rst.AbsolutePage = CurrentPage

if (infocount<>0) then
info2 = infocount & " mail(s) inbox"
else
info2 = " Inbox Empty"
end if

if infocount <> 0 then


if (request.querystring("mode")="del007") then

do while not rst.eof

Copy Right© All Right Reserved® 2006


Page 15 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

if ((request.form("ch" & rst.Fields("infoid")))<>"") then


conn.execute "delete from tbl_maildot where infoid=" & rst.Fields("infoid")
c=c+1
info = c & " mail(s) deleted..!"
end if
rst.movenext
loop
rst.close
rst.open "select * from tbl_maildot where clientid=" & id,conn
info2 = infocount - c & " mail(s) inbox"
end if
else
end if

%>
<script language="javascript">
function delselected()
{
document.frmcheckmail.method="post"
document.frmcheckmail.action="?mode=del007&page=2"
document.frmcheckmail.submit()
}

function getpersional()
{
document.frmcheckmail.method="post"
document.frmcheckmail.action="personalmail.asp"
document.frmcheckmail.submit()
}

</script>
<link href="../design/vardana.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
.style2 {font-size: 9px}
-->
</style>
</HEAD>
<BODY vlink=white alink=white link=white bgcolor=#0061A8 topmargin=0 leftmargin=0>
<form name=frmcheckmail>
<!-- <hr color=#0054A8> -->
<TABLE width="100%" border=0 bgcolor=#E1F1FF>
<TR>
<TD valign=top> <TABLE cellPadding=0 cellSpacing=0 >
<TR>
<TD width=20 height="18" background=..\image \color3.gif></TD>
<TH background=..\image\color5.gif><A
href="?page=2" class="style1">Inbox</A></TH>
<TD background=..\image\color2.gif width=20></TD>

Copy Right© All Right Reserved® 2006


Page 16 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

<TD background=..\image\color3.gif width=20></TD>


<TH background=..\image\color5.gif> <A
href="?page=3" class="style1"> Compose </A></TH>
<TD background=..\image\color2.gif width=20></TD>
<TD background=..\image\color3.gif width=20></TD>
<TH background=..\image\color5.gif> <A
href="?page=6" class="style1 style2"> Add Book &nbsp; </A></TH>
<TD background=..\image\color2.gif width=20></TD>
<TD> &nbsp; <a href="?page=7">Ch. Passpass </a>| <a href="?page=8">Logout</a> </TD>
</TR>
<TR>
<TD height="18" colspan="10">Welcome to <%=Cname%></TD>
</TR>
</TABLE></TD>
</TR>
<TR>
<TD valign=top>
<INPUT TYPE="button" value="Delete" onclick="delselected()">
<INPUT TYPE="button" value="Back" onclic k="history.go( -1)" >
<SELECT NAME="">
<option>
Save in Myfolder
</option>
<option>
Create folder
</option>
</SELECT> <FONT COLOR="#0066FF"><% = info %> <% = info2 %> </FONT>
<TABLE width="100%" border=0 cellpadding=0 cellspacing=0 bgcolor="#FFFFFF">
<TR>
<Th bgcolor=#0061A8 width=13%>
<INPUT TYPE="image" SRC="../image/newmail.gif">
<INPUT TYPE="checkbox" NAME=""></Th>
<Th bgcolor=#1A7ED0 width=30%><FONT COLOR="white">From</FONT></Th>
<Th bgcolor=#0061A8 width=40%><FONT COLOR="white">Subject</font></Th>
<Th bgcolor=#0061A8 width=10%><FONT COLOR="white">Date</font></Th>
<Th bgcolor=#0061A8 width=7%><FONT COLOR="white">Size</font></Th>
</TR>
<%
c=0
do while not (rst.eof or c>Rst.PageSize)
c = c+1
%>
<tr>
<td>
<IMG SRC="../image/newmail.gif" WIDTH="20" HEIGHT="18" BORDER=0 ALT="">
<INPUT TYPE="checkbox" NAME="ch<%=rst.Fields("infoid")%>"
value=<%=rst.Fields("infoid")%>>
</td>
<td>
<a href="?mode=checkmail&id=<%=rst.fields("infoid")%>&page=2">

Copy Right© All Right Reserved® 2006


Page 17 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

<font color=blue>
<%=rst.fields("from")%>
</font>
</a>
</td>

<td>
<%=rst.fields("Subject")%>
</td>
<td>
<%=rst.fields("date")%>
</td>
<td>
1k
</td>
</tr>
<tr>
<td colspan=5 >
<TABLE width=100%>
<TR>
<TD bgcolor=#9FCAFD height=1></TD>
</TR>
</TABLE>
</td>
</tr>
<%
rst.movenext
%>
<%
loop

response.cookies("id")=id
response.cookies("uname")=maid
%>
</TABLE>
<!-- <hr color=#A3DDFC> -->
<input name="button" type="button" onClick="delselected()" value="Delete">
<INPUT TYPE="button" value="Back" onclick="history.go( -1)" >
<SELECT NAME="">
<option>
Save in Myfolder
</option>
<option>
Create folder
</option>
</SELECT>

</TD>
</TR>
<TR>

Copy Right© All Right Reserved® 2006


Page 18 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

<TD valign=top>
Page(s):-
<%
print "| "
For i = 1 to Rst.PageCount
' print CurrentPage
if CurrentPage = i then
Print "<a href='?page=2&CurrentPage=" & i & "'><B>" & i & "</B><a/> | "
else
Print "<a href='?page=2&CurrentPage=" & i & "'>" & i & "</a> | "
end if
next
%>
</TD>
</TR>
</TABLE>
</form>
</BODY>
</HTML>

To compose the mail


3.6 Compose.asp

<HTML>
<HEAD>
<TITLE> sahara software </TITLE>

<%

'dim rst, rst3, sql, cnn, file, id, rst2, maid, info, inmailStr
'dim uto,usubject,umass

'set cnn=server.createobject("adodb.connection")
set rst=server.createobject("adodb.recordset")

'sql= request.cookies("sysmap")
'cnn.open sql

'print sql

id=request.cookies("id")
maid=request.cookies("user")

response.cookies("id")=id
response.cookies("user")=maid
Cname = Request.cookies("cName")

if request.querystring("mode")="sent" then
dim ctrn, cuser

Copy Right© All Right Reserved® 2006


Page 19 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

uto=id
uto=Request.Form("txtto")
ctrn=instr(1,uto,application("domainid"))
usubject=Request.Form("txtsubject")
umass=Request.Form("txtmass")

if (ctrn) then
'cuser=mid(uto,1,ctrn-1)
'rst.open _
'"select * from tbl_client where mailid='" & cuser & "'",conn
'print id
'print maid
'terminate
ClientID = ID

inmailStr="Insert Into
tbl_maildot([clientid],[from],[to],[subject],[date],[massage]) values(" & ClientID & ",'" & maid & "','" &
uto & "','" & usubject & "','" & date() & "','" & umass & "')"
'Response.Write(inmailstr)
'response.write(request.cookies("sysmap"))
conn.execute inmailStr
info="Mail sent... " & uto
else
ClientID = id
info="Mail sent... " & uto
end if
response.redirect("?page=4")
end if
%>

<link href="../design/vardana.css" rel="stylesheet" type="text/css">


<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
</HEAD>
<BODY vlink=white alink=white link=white topmargin=0 leftmargin=0>
<TABLE width="104%" border=0 cellpadding="0" cellspacing="0" bgcolor=#E1F1FF>
<TR>
<TD valign=top>
<!--Compose Mail-->
<form name="frmcompose">
<frameset>
<TABLE width="100%">
<TR>
<TD colspan="2"><TABLE cellPadding=0 cellSpacing=0 >
<TR>
<TD width=20 height="18" background=..\image\color3.gif></TD>
<TH background=..\image\color5.gif><A

Copy Right© All Right Reserved® 2006


Page 20 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

href="?page=2" class="style1">Inbox</A></TH>
<TD background=..\image\color2.gif width=20></TD>
<TD background=..\image\color3.gif w idth=20></TD>
<TH background=..\image\color5.gif> <A
href="?page=3" class="style1"> Compose </A></TH>
<TD background=..\image\color2.gif width=20></TD>
<TD background=..\image\color3.gif width=20></TD>
<TH background=..\image\color5.gif> <A
href="?page=6" class="style1 style2"> Add Book &nbsp; </A></TH>
<TD background=..\image\color2.gif width=20></TD>
<TD> &nbsp; <a href="?page=7">Ch. Passpass </a>| <a href="?page=8">Logout</a> </TD>
</TR>
<TR>
<TD height="18" colspan="10">Welcome to <%=Cname%></TD>
</TR>
</TABLE></TD>
</TR>
<TR>
<TD>To</TD>
<TD>
<INPUT TYPE="text" NAME="txtto" size=40 accesskey=T value=<% = session("repplyid")
%>>
<% session("repplyid")="" %>

<A HREF="addressbook.asp"><FONT SIZE="" COLOR="#0066FF"><b>


<%=info%></B></FONT>
</A>
</TD>
</TR>
<TR>
<TD>Subject</TD>
<TD><INPUT TYPE="text" NAME="txtsubject" size=40 accesskey=s></TD>
</TR>
<TR>
<TD colspan=2>
<INPUT TYPE="button" value="Send" name="sentmail" onclick="sentmailfast()">
<INPUT TYPE="button" value="Back" onclick="history.go( -1)" >
</TD>
</TR>
<TR>
<TD colspan=2><TEXTAREA NAME="txtmass" ROWS="15"
COLS="80"></TEXTAREA></TD>
</TR>

<TR>
<TD colspan=2><INPUT TYPE="butt on" value="Send" name="sentmail"
onclick="sentmailfast()" >
<INPUT TYPE="button" value="Back" onclick="history.go( -1)" >
</TD>
</TR>

Copy Right© All Right Reserved® 2006


Page 21 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

</TABLE>
</form>
<!--Compose Mail-->
</td>
</TR>
</TABLE>
</BODY>
</HTML>
<SCRIPT LANGUAGE="JavaScript">
<!--

function sentmailfast()
{
document.frmcompose.method="post";
document.frmcompose.action="?mode=sent&page=3";
document.frmcompose.submit();
}
//-->
</SCRIPT>

To view default message on home page


3.7 defMessage.asp

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"


"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Default Message</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../design/vardana.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #000000}
-->
</style>
</head>

<body>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="2">
<tr>
<td colspan="2"><div align="center" class="Bsbttn1">Project Description</div> <div
align="center"></div></td>
</tr>
<tr>
<td width="29%"><span class="Wf">Project Title</span></td>
<td width="71%"><span class="Wf"> :- messenger.com </span></td>
</tr>
<tr>
<td><span class="Wf">Class</span></td>

Copy Right© All Right Reserved® 2006


Page 22 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

<td><span class="Wf">:- 4BCA - Bacholer of Computer Application </span></td>


</tr>
<tr>
<td><span class="Wf">University</span></td>
<td><span class="Wf">:- <a href="http://www.mcu.ac.in/" class="style1">Makhanlal Chaturvedi
National <strong>University </strong> of Journalism, Bhopal, India </a> </span></td>
</tr>
<tr>
<td><span class="Wf">Lecturer/Professor </span></td>
<td><span class="Wf">:- Mr. Rezwi</span></td>
</tr>
<tr>
<td><span class="Wf">Projet Incharge </span></td>
<td><span class="Wf">:- Mr. Ramesh Suwal </span></td>
</tr>
<tr>
<td><span class="Wf">College/Institure</span></td>
<td><span class="Wf">:- Loard Buddha Education Fundation</span></td>
</tr>
<tr>
<td><span class="Wf">Sumitted By </span></td>
<td><span class="Wf">:- Mr. Rajendra Man Banepali - 4BCA </span></td>
</tr>
</table>
</body>
</html>

Home page of all


3.8 Home.asp

<!-- #include file="../include/fx.inc" -->


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> ::: Management Calender ::: </title>
<link href="../design/vardana.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="vbscript">

sub CmdCompose_onclick()
dim v_date
dim mm, dd, yy
mm = document.frmcal.calDate.Month
dd = document.frmcal.calDate.Day
yy = document.frmcal.calDate.year

if (len(mm)<=1) then mm = "0" & mm


if (len(dd)<=1) then dd = "0" & dd

Copy Right© All Right Reserved® 2006


Page 23 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

v_date = mm & "/" & dd & "/" & yy


document.frmcal.method="Post"
document.frmcal.action="calender.asp?page=2&vdate=" & v_date
document.frmcal.submit()

end sub

sub cmdShow_onclick()
Dim v_date
dim mm, dd, yy
mm = document.frmcal.calDate.Month
dd = document.frmcal.calDate.Day
yy = document.frmcal.calDate.year

if (len(mm)<=1) then mm = "0" & mm


if (len(dd)<=1) then dd = "0" & dd
v_date = mm & "/" & dd & "/" & yy

document.frmcal.method="Post"
document.frmcal.action="calender.asp?page=1&vdate=" & v_date
document.frmcal.submit()
end sub
</script>

<style type="text/css">
<!--
.style3 {color: #FFFFFF}
.style4 {color: #3366CC}
.style5 {color: #000000}
-->
</style>

</head>
<body>
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0"
bordercolor="#5B71BB" id="AutoNumber1" style="border-collapse: collapse">
<tr>
<td width="100%" align="center" bgcolor="#F79946">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#CCCCCC">
<td width="48%" height="18" class="drpdwn"><div align="left" class="sb style4">Service for
mail.</div></td>
<td width="16%" class="drpdwn"><div align="center" class="sb style4"><%=date()%></div></td>
<td class="drpdwn"><div align="right" class="sb style4">Get your live mail service.</div></td>
</tr>
<tr>
<td colspan="2"><img border="0" src="../image/MEDEP-Heading.jpg" width="504"
height="36"></td>
<td width="36%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>

Copy Right© All Right Reserved® 2006


Page 24 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

<td width="33%" height="15">&nbsp;</td>


<td width="32%">&nbsp;</td>
<td width="23%">&nbsp;</td>
<td width="12%"><a href="home.asp" class="sw">Home</a></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td width="100%" align="center">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse"
bordercolor="#A5AED3" width="770" id="AutoNumber2">
<tr>
<td width="19%" height="256" align="left" valign="top" class="Bsbttn">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse"
bordercolor="#111111" width="100%" id="AutoNumber4">
<tr>
<td width="100%" height="19" align="center" background="../image/bgcolor.gif">:: Make it
busy to develop</td>
</tr>
<tr>
<td width="100%">
</td>
</tr>
<tr>
<td><img src="../IMAGE/resource_room.gif" width="143" height="98"></td>
</tr>
<tr>
<td><div align="center" class="sb">Education for All </div></td>
</tr>
<tr>
<td height="18" align="center" background="../image/blue_03_02.gif"><span class="style3">::
Educational Materials :: </span></td>
</tr>
<tr>
<td><a href="home.asp" class="style5">BCA Practicles Papers </a></td>
</tr>
<tr>
<td><a href="home.asp" class="style5">Minor Projects </a></td>
</tr>
<tr>
<td><a href="home.asp" class="style5">Mejor Projects </a></td>
</tr>

Copy Right© All Right Reserved® 2006


Page 25 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

<tr>
<td><a href="home.asp" class="style5">Others</a></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table> </td>
<td width="59%" align="left" valign="top">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" background="../IMAGE/bgcolor.gif">
<table width="95%" height="19" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td><div align="center"><a href="home.asp">News</a></div></td>
<td><div align="center"><a href="home.asp">Mail</a></div></td>
<td><div align="center"><a href="home.asp">Desktop</a></div></td>
<td><div align="center"><a href="home.asp">Software</a></div></td>
<td><div align="center"><a href="home.asp">Shopping</a></div></td>
<td><div align="center"><a href="home.asp">GIS</a></div></td>
<td><div align="center"><a href="home.asp">University</a></div></td>
</tr>
</table> </td>
</tr>
<tr>
<td height="18" colspan="3">

<% if query("page") = 1 then %>


<!-- #include file=pgdseregister.asp-->
<% elseif query("page") =2 then %>
<!-- #include file=checkmail.asp -->
<% elseif que ry("page") =3 then %>
<!-- #include file=compose.asp -->
<% elseif query("page") =4 then %>
<!-- #include file=composesuccess.asp -->
<% elseif query("page") =5 then %>
<!-- #include file=personalmail.asp -->
<% elseif query("page") =6 then %>
<!-- #include file=addressbook.asp -->
<% elseif query("page") =7 then %>
<!-- #include file=changepassword.asp -->
<% elseif query("page") =8 then %>
<!-- #include file=SignoutBin.asp -->
<% elseif query("page") =9 then %>
<!-- #include file=registercomplete.asp -->
<% else %>
<!-- #include file=defMessage.asp -->

Copy Right© All Right Reserved® 2006


Page 26 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

<% end if%> </td>


</tr>
<tr>
<td colspan="3" class="PPRSbmtBtn">
<DIV class="child c1 first" id=moneydv>
<DIV class=linkedimg><span >::: Today's Hot ::: </span> </DIV>
</DIV>
</td>
</tr>
<tr>
<td height="30" colspan="3"><table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td width="16%" valign="top"><img
src="../IMAGE/student.jpg" alt="(c) Ariel Skelley / Blend Images / Getty Images" width=70
height=70 border="0"></td>
<td width="84%" rowspan="2"><DIV class="child c2 last" id=moneylnk>
<UL class=linklist16>
<LI class=first><A

href="http://articles.moneycentral.msn.com/CollegeAndFamily/SavingForCollege/WhatPriceCollegeAd
mission.aspx">What price college admission?</A>
<LI><A
href="http://articles.moneycentral.msn.com/Commentary/Experts/Jubak/Jim_Jubak.aspx?msn=1">The
economy's worst-case scenario</A>
<LI><A
href="http://realestate.msn.com/Rentals/Article.aspx?cp-documentid=568217">Great, cheap places to
live</A>
<LI><A
href="http://articles.moneycentral.msn.com/Investing/TheStreet/FiveDumbThingsOnWallStreet062206.a
spx">5 dumbest things on Wall Street</A>
<LI><A
href="http://video.msn.com/v/us/v.htm?g=84f3fb75-80ed-48db-8c8e-
e24180285b17&amp;t=m23&amp;f=15/64home&amp;p=">Video: Barbie in for makeover</A>
<LI><A
href="http://articles.moneycentral.msn.com/Commentary/Experts/Jubak/Jim_Jubak.aspx?msn=1">The
economy's worst-case scenario</A>
<LI><A
href="http://articles.moneycentral.msn.com/CollegeAndFamily/CutCollegeCosts/CutStudentLoanCosts.
aspx">Rush is on to cut college -loan costs</A>
<LI><A
href="http://articles.moneycentral.msn.com/Investing/JubaksJournal/5StocksForThePessimistInYou.asp
x">Stocks for the pessimist in you</A>
<LI><A
href="http://articles.moneycentral.msn.com/Banking/FinancialPrivacy/FinancialPrivacy.aspx">Guard
your financial privacy</A>
</UL>
</DIV></td>
</tr>
<tr>

Copy Right© All Right Reserved® 2006


Page 27 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

<td valign="top"><div align="center">waiting for jobs and upportunities. </div></td>


</tr>
</table></td>
</tr>
<tr>
<td width="21%" height="30" class="label1"> -Search the web</td>
<td width="59%" class="label1"><input name="textfield" type="text" size="50"></td>
<td width="20%" class="label1"><img src="../IMAGE/SEARCHbox.GIF" width="60"
height="21"></td>
</tr>
<tr>
<td height="30" colspan="3"><%=application("viewer")%></td>
</tr>
</table> </td>
<td width="22%" align="left" valign="top">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"
bordercolor="#111111" id="AutoNumber3" style="border -collapse: collapse">
<tr>
<td width="100%" height="19" align="center" background="../image/bgcolor.gif">::: Breaking
News::: </td>
</tr>
<tr>
<td width="100%" height="1"><img src="../IMAGE/bullet.gif" width="11" height="13"> <a
href="home.asp">Microsoft lunches in Nepal </a></td>
</tr>
<tr>
<td height="1"><img src="../IMAGE/bullet.gif" width="11" height="13"> <a
href="home.asp">Software developme nt</a></td>
</tr>
<tr>
<td height="1"><img src="../IMAGE/bullet.gif" width="11" height="13"> <a
href="home.asp"> NRNs wishing for Peac of nepal</a></td>
</tr>
<tr>
<td height="1"><img src="../IMAGE/bullet.gif" width="11" height="13"> <a
href="home.asp">Shimha Durbar... </a></td>
</tr>
<tr>
<td height="1"><img src="../IMAGE/bullet.gif" width="11" height="13"> <a
href="home.asp">Loard Budhha Education fundation </a></td>
</tr>
<tr>
<td height="1"><img src="../IMAGE/bullet.gif" width="11" height="13"> <a
href="home.asp">Bacholer of Computer Application </a></td>
</tr>
<tr>
<td height="1"><im g src="../IMAGE/bullet.gif" width="11" height="13"> <a
href="home.asp">Software Enginnering..</a></td>
</tr>
<tr>

Copy Right© All Right Reserved® 2006


Page 28 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

<td height="1">&nbsp;</td>
</tr>
<tr>
<td height="1">&nbsp;</td>
</tr>
<tr>
<td height="18" align="center" background="../image/blue_03_02.gif"><span class="style3">::
Logon Mail</span></td>
</tr>
<tr>
<td><!-- #include file=userpass.asp --></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="Bsbttn" width="100%" align="center" bordercolor="#A5AED3"
background="image/blue_03_02.gif"> <font size="2" face="Arial">Queries :- Mr. Rajendra Man
Banepali, email:-rajendra.banepali@medep.org.np</font></td>
</tr>
</table>
</body>
</html>

To view individual mail


3.9 Personalmial.asp

<HTML>
<HEAD>
<TITLE> sahara software </TITLE>
<%
'dim rst, sql, cnn, file, id, rst1, idout
'set cnn=server.createobject("adodb.connection")
set rst=server.createobject("adodb.recordset")
set rst1=server.createobject("adodb.recordset")
' sql= request.cookies("sysmap")
' conn.open sql
id=session("infoid")
rst.open "select * from tbl_maildot where infoid=" & id,conn
idout=rst.fields("clientid")

maid=request.cookies("user")
response.cookies("user")=maid
Cname = Request.Cookies("Cname")

%>
</script>

Copy Right© All Right Reserved® 2006


Page 29 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

<style>
</style>
<link href="../design/vardana.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style 1 {color: #FFFFFF}
-->
</style>
</HEAD>
<BODY vlink=white alink=white link=white bgcolor=#0061A8 topmargin=0 leftmargin=0>
<FONT SIZE="" COLOR="#FFCC00">
<% = session("username")%>
</FONT>
<TABLE width=100% border=0 cellspacing="2">
<TR>
<TD valign=top>
<!--Compose Mail-->
<TABLE width=100% cellpadding="0" cellspacing="0">
<TR>
<TD colspan="2"><TABLE cellPadding=0 cellSpacing=0 >
<TR>
<TD width=20 height="18" background=..\image\color3.gif></TD>
<TH background=..\image\color5.gif><A
href="?page=2" class="style1">Inbox</A></TH>
<TD background=..\image\color2.gif width=20></TD>
<TD background=..\image\color3.gif width=20></TD>
<TH background=..\image\color5.gif> <A
href="?page=3" class="style1"> Compose </A></TH>
<TD background=..\image\color2.gif width=20></TD>
<TD background=..\image\color3.gif width=20></TD>
<TH background=..\image\color5.gif> <A
href="?page=6" class="style1 style2"> Add Book &nbs p; </A></TH>
<TD background=..\image\color2.gif width=20></TD>
<TD> &nbsp; <a href="?page=7">Ch. Passpass </a>| <a href="?page=8">Logout</a> </TD>
</TR>
<TR>
<TD height="18" colspan="10">Welcome to <%=Cname%></TD>
</TR>
</TABLE></TD>
</TR>
<TR>
<TD width="14%"><U>To :</U></TD>
<TD width="86%"><%=rst.fields("to")%></TD>
</TR>
<TR>
<TD><U>From :</U></TD>
<TD><%=rst.fields("from")%></TD>
</TR>
<TR>
<TD><U>Subject :</U></TD>

Copy Right© All Right Reserved® 2006


Page 30 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

<TD><%=rst.fields("subject")%></TD>
</TR>
<TR>
<TD colspan=2>
<br>
<TABLE width=100% border=0 bordercolor=#C0C0C0 cellspacing=0 cellpadding=0>
<TR>
<TD bgcolor="#CCCCCC"></TD>
</TR>
<TR>
<TD><%=rst.fields("massage")%></TD>
</TR>
<TR>
<TD bgcolor="#CCCCCC"></TD>
</TR>
</TABLE>
<P>
| <a href="javascript:void(0)" onclick="history.go( -1)"> <font color=#0066FF>Back</font> <a> |
<a href="?page=6"><font color=#0066FF> Save Address </font></a> |
<a href="?page=3"><font color=#0066FF> Repply </font></a>
<% session("repplyid")= rst.fields("from") %>
</TD>
</TR>
</TABLE>
<!--Compose Mail-->
</form> </td> </TR> </TABLE>
</BODY>
</HTML>

3.10 PGDSEregistration.asp New User registration

<HTML>
<HEAD>
<TITLE> regisration </TITLE>
<%
dim rst, sql, file, id, rst2, maid, info, sqlstr
set rst2=server.createobject("adodb.recordset")
set rst=server.createobject("adodb.recordset")
sql= request.cookies("sysmap")
if not conn.state = 1 then conn.open sql

if (request.querystring("mode")="c101") then
' ***** Transaction
'cnn.BeginTrans

dim fname,lname,address,phone,dateofbirth
Dim qualification,mailid,pw,question,answer, CurrDate
fname = request.form("txtfname")

Copy Right© All Right Reserved® 2006


Page 31 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

lname = request.form("txtlname")
phone = request.form("txtphone")
address = request.form("txtaddress")
dateofbirth = request.form("cmbmonth") & "/" & request.form("cmbday") & "/" &
request.form("cmbyear")
qualification = request.form("txtqualification")
mailid = request.form("txtmailid")
pw = request.form("txtpw")
question = request.form("txtquestion")
answer = request.form("txtanswer")
online = -1
If DbType = "MsAccess" Then
CurrDate = "#" & Date() & "#"
dateofbirth = "#" & dateofbirth & "#"
ElseIf DbType = "SqlServer" Then
CurrDate = "" & Date() & ""
dateofbirth = dateofbirth
End If

' checking all client


rst.open "select count(mailid) from tbl_client Where mailid='" & mailid & "'",conn

'do while not rst.eof


' c=c+1
' if(rst.fields("mailid")=mailid) then
' rg="yesreg"
' exit do
' else
' rg="notreg"
' end if
' rst.movenext
'loop
'if c=0 then rg="notreg"
'rst.close
' **** complete checking
if (Rst.eof or Rst.Fields(0)<=0) then
sqlstr= _
"Insert into tbl_client(fname,lname,address,phone,dateofbirth,qualification," & _
" mailid,pw,question,answer,[date],online) values('" & fname & "','" & lname & _
"','" & address & "','" & phone & "'," & dateofbirth & ",'" & qualification & "','" &
_
mailid & "','" & pw & "','" & question & "','" & answer & "'," & CurrDate & "," &
online & ")"
'response.write sqlstr
'terminate
conn.execute (sqlstr)
if rst.state=1 then rst.close
rst.open "select * from tbl_client where mailid='" & mailid & "'",conn
response.cookies("id")=rst.fields("clientid")

Copy Right© All Right Reserved® 2006


Page 32 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

response.cookies("user")=mailid

id=request.cookies("id")
maid=request.cookies("user")

sys_subject ="welcome to microsun messenger"


uto = maid & application("domainid")
usubject = sys_subject
usermessage = "<FONT COLOR=#0099FF><B><U>Welcome to
Microsun Messenger Network</U></B></FONT><br>This is your automatic mail from <FONT
COLOR=#0066FF><B>Microsun Messenger Network</B></FONT> and hope you will enjoy with
MMN. All rights and copy rights are associates with Microsun Network and <FONT
COLOR=#339900><B>College of Sotware Engineering.</B></FONT><p><dd><FONT
COLOR=#FF6600><B><U>Holder: Administrator</U></B></FONT>"
admin = "microsun" & application("domainid")

str77="insert into tbl_maildot(clientid,[from],[to],[subject],[date],massage)


values(" & id & ",'" & admin & "','" & uto & "','" & usubject & "','" & date() & "','" & usermessage &
"')"
conn.execute(str77)
'response.redirect("registercomplete.asp?mode=9")
print "<font size='' color=red> Registration Completed. </font><hr color=gray>
<dd> <a href='?'> Check Mail by logon to messenger. </a>"
terminate
'response.write (rg)
else
'response.redirect("registercomplete.asp?mode=0")
print "<font size='' color=red> Registration canceled due to unspecify errors.
</font><hr color=gray> <a href='javascript:void(0)' onclick='history.go(-1)'> Back </a>"
terminate
end if
'cnn.CommitTrans
''' ***** commite
end if
%>
<link href="../design/vardana.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY topmargin=0 leftmargin=0>
<FORM METHOD=POST ACTION="?mode=c101&page=1">
<b>New User Registration</b>
<hr> <TABLE border=0 align="center"> <TR>
<TD align=right>First name</TD>
<TD><INPUT TYPE="text" NAME="txtfname">* </TD>
</TR> <TR> <TD align=right>Last name</TD>
<TD><INPUT TYPE="text" NAME="txtlname"></TD> </TR> <TR>
<TD align=right>Address</TD>
<TD><INPUT TYPE="text" NAME="txtaddress">*</TD>
</TR><TR> <TD align=right>Phone</TD><TD><INPUT TYPE="text" NAME="txtphone"></TD>
</TR><TR><TD align=right>Date of Birth</TD><TD>
Month:

Copy Right© All Right Reserved® 2006


Page 33 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

<SELECT id=select1 name=cmbmonth>


<% for i = 1 to 12 %>
<OPTION value=<%= i %>> <%= i%></OPTION>
<% next %>
</SELECT>
Day:
<SELECT id=select1 name=cmbday>
<% for i = 1 to 30 %>
<OPTION value=<%= i %>> <%= i %></OPTION>
<% next %>
</SELECT>
year:
<SELECT id=select1 name=cmbyear>
<% for i = 1950 to year(date()) %>
<OPTION value=<%= i %> selected> <%= i %></OPTION>
<% next %>
</SELECT>
*</TD>
</TR>
<TR>
<TD align=right>Qualification</TD>
<TD><INPUT TYPE="text" NAME="txtqualification"></TD>
</TR>
<TR>
<TD colspan=2 align=right class="label1">
Mial ID shout have atlest three letters and password must be reconfigured
<br>
Microsun registration have .NET security
<br>
ie. sahara@om.com
</TD>
</TR>
<TR>
<TD align=right>Mail ID</TD>
<TD><INPUT TYPE="text" NAME="txtmailid">* <%=application("domainid")%></TD>
</TR>
<TR>
<TD align=right>Password</TD>
<TD><INPUT TYPE="password" NAME="txtpw">*</TD>
</TR>
<TR>
<TD align=right>Verify Password</TD>
<TD><INPUT TYPE="password" NAME="txtveriftpw">*</TD>
</TR>
<TR>
<TD align=left colspan=2 bgcolor=#FFEFDF>
<div align="right" class="label1">Question for security and or to reconfigure your password
when it's hacked or lost
<br>
Microsun administrator check it out for next

Copy Right© All Right Reserved® 2006


Page 34 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

</div></TD>
</TR>
<TR>
<TD align=right>Question</TD>
<TD><INPUT TYPE="text" NAME="txtquestion">*</TD>
</TR>
<TR>
<TD align=right>Answer</TD>
<TD><INPUT TYPE="text" NAME="txtanswer">*</TD>
</TR>
<TR>
<TD align=right>Date</TD>
<TD><% = Date() %></TD>
</TR>
<TR align="center">
<TD colspan="2"><input name="submit" type="submit" value="Register me"></TD>
</TR> </TABLE>
<hr> </FORM> </BODY></HTML>

3.11 SignOutBin.asp Signing out from the session

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"


"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<!--META http-equiv="REFRESH" CONTENT=1 name="keywords" URL="http://msserver"-->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../design/vardana.css" rel= "stylesheet" type="text/css">

<%
response.cookies("id")=""
response.cookies("user")=""
response.cookies("cName")=""
Session.Abandon()
%>

<style type="text/css">
<!--
.style1 {
font-size: 14px;
font-weight: bold;
}
-->
</style>
</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">

Copy Right© All Right Reserved® 2006


Page 35 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

<tr> <td>&nbsp;</td> </tr> <tr> <td><div align="center" class="style1">Thanks ! <br>


it's grateful that our touch and sprit&nbsp; keep on near to us... </div></td>
</tr> <tr> <td>&nbsp;</td> </tr> <tr>
<td>&nbsp;</td> </tr> <tr>
<td align="center" class="Wf Wf Wf"> Dear
<b><% = Request.Cookies("cname") %></b>
your Session is finished </td>
</tr>
<tr> <td align="center">&nbsp;</td> </tr>
<tr> <td align="center"><a href="Home.asp" class="Wf">Return to Home page</a> </td> </tr>
<tr> <td align="center">&nbsp;</td> </tr>
</table>
</body>
</html>

Logon form
3.12 userPass.asp

<HTML>
<HEAD>
<TITLE> sahara software </TITLE>
<link rel="styles heet" href="../design/vardana.css" type="text/css">
<SCRIPT LANGUAGE="JavaScript">
</SCRIPT>

<%
if request.querystring("mode")="sahara" then
'dim sql, file, id, user1, upw, info
'Sql= request.cookies("sysmap")
'set cnn=server.createobject("adodb.connection")

'cnn.open sql
set rst=server.createobject("adodb.recordset")
rst.open "select * from tbl_client",conn

user1 = request.form("txtid")
upw = request.form("txtpassword")

do while not rst.eof=true

if trim(user1)=trim(rst.fields("mailid")) then
if trim(upw)=trim(rst.fields("pw")) then
'id=rst.fields("clientid")
response.cookies("id")=rst.Fields("clientid")
response.cookies("user")=rst.Fields("mailid") & application("domainid")
response.cookies("cName")=rst.Fields("Fname") & " " & Rst.fields("Lname")
if not (fs.FolderExists(SessionDir)) then Fs.CreateFolder(SessionDir)
sfile = SessionDir & user1 & ".txt"
'print sfile
'terminate

Copy Right© All Right Reserved® 2006


Page 36 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

Set tfs = Fs.CreateTextFile(sfile)


tfs.writeLine session.SessionID
tfs.writeLine date()
tfs.writeLine time()
tfs.close()
set tfs = nothing
'response.redirect("checkmail.asp")
response.redirect("?page=2")
end if
end if
rst.movenext
loop
info =" Invalid User name"
'user invalid & password
end if
%>
<!-- Checking Mail -->
<!-- Checking Mail -->
</HEAD>
<BODY text=white leftmargin=0 topmargin=0>
<Form name="formlogin" method="post" action="?mode=sahara">
<table width="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td><table border="1" align="center " cellpadding="0" cellspacing="0" bordercolor="#D5DEF7">
<tr>
<td><TABLE align="center" bordercolor="#D4D0C8">
<TR>
<TD colspan="2" class="label1">Free <a href="?page=1"><font size="2" color="#3300FF">New
ID</font> </a> for Mail Registration </TD>
</TR>
<TR> <TD>Mail ID</TD> <TD><INPUT NAME="txtid" TYPE="text" accesskey="u"></TD>
</TR> <TR> <TD>Password</TD>
<TD><INPUT NAME="txtpassword" TYPE="password" accesskey="p"></TD>
</TR>
<TR><TD colspan=2><center><INPUT name="submit" TYPE="submit" value="Login">
</center></TD></TR>
<tr> <td colspan=2>
<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
<TR>
<TD><FONT COLOR="#3366FF"> <%= info %> </FONT></TD>
</TR> </TABLE></td>
</tr> </TABLE></td> </tr>
</table></td> </tr>
</table></Form></BODY></HTML>

3.13 Vardarna.css Cascading style sheet.

FRAMESET {

Copy Right© All Right Reserved® 2006


Page 37 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

COLOR: #000000;
MARGIN-LEFT : 0px;
MARGIN-RIGHT: 0px;
MARGIN-TOP : 0px;
FONT-FAMILY: tahoma,sans-serif;
FONT-SIZE: 11px ;
}
BODY {
COLOR: #000000;
MARGIN-LEFT : 0px;
MARGIN-RIGHT: 0px;
MARGIN-TOP : 0px;
FONT-FAMILY: tahoma,sans-serif;
FONT-SIZE: 11px;
background-image:URL(../image/nepal.jpg);
background-attachment: fixed;
background-position: 75px 80px;
}
A{
FONT-FAMILY: tahoma,sans-serif; FONT-SIZE: 11px; color: #3962C1;
}
INPUT {
BORDER-BOTTOM: Black 1px solid;
BORDER-LEFT: #999999 1px solid;
BORDER-RIGHT: #999999 1px solid;
BORDER-TOP: #999999 1px solid;
FONT-FAMILY: tahoma,sans-serif;
FONT-SIZE: 8pt;
FONT-FAMILY: tahoma,sans-serif;
FONT-SIZE: 11px ;
}
img {
Cursor : hand;
}
OPTION {
FONT-FAMILY: tahoma,sans-serif; FONT-SIZE: 11px
}
SELECT {
BORDER-BOTTOM: Black 1px solid;
BORDER-LEFT: #999999 1px solid;
BORDER-RIGHT: #999999 1px solid;
BORDER-TOP: #999999 1px solid;
FONT-FAMILY: verdana,Sans -Serif;
FONT-SIZE: 8pt;
FONT-FAMILY: tahoma,sans-serif;
FONT-SIZE: 11px ;
}
TEXTAREA {
BORDER-BOTTOM: Black 1px solid;
BORDER-LEFT: #999999 1px solid;

Copy Right© All Right Reserved® 2006


Page 38 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

BORDER-RIGHT: #999999 1px solid;


BORDER-TOP: #999999 1px solid;
FONT-FAMILY: verdana,Sans -Serif;
FONT-SIZE: 8pt;
FONT-FAMILY: tahoma,sans-serif;
FONT-SIZE: 11px ;
}
TABLE {
FONT-FAMILY: tahoma,sans-serif; FONT-SIZE: 11px
}
TD {
FONT-FAMILY: tahoma,sans-serif; FONT-SIZE: 11px
}
TR {
FONT-FAMILY: tahoma,sans-serif; FONT-SIZE: 11px
}
TABLE {
BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px
}
A{
COLOR: #000099; TEXT-DECORATION: none; color: white, yellow;
}
A:hover {
TEXT -DECORATION: underline; color: red;
}

.mf {
FONT-FAMILY: tahoma,sans-serif; FONT-SIZE: 11px
}
.s {
FONT-SIZE: 11px
}
.sb {
FONT-WEIGHT: bold
}
.sb10 {
FONT-SIZE: 10px; FONT-WEIGHT: bold
}
.sBL {
COLOR: #003366
}
.sBLb {
COLOR: #003366; FONT-WEIGHT: bold
}
.sBL2b {
COLOR: #104a7b; FONT-WEIGHT: bold
}
.sw {
COLOR: #ffffff
}

Copy Right© All Right Reserved® 2006


Page 39 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

.swb {
COLOR: #ffffff; FONT-WEIGHT: bold
}
.uw {
COLOR: #ffffff; TEXT-DECORATION: underline
}
.flb {
COLOR: #000000; FONT-SIZE: 24px; FONT-WEIGHT: bold
}
.title {
COLOR: #104a7b; FONT-FAMILY: tahoma,sans -serif; FONT-SIZE: 13px; FONT-WEIGHT:
bold
}
.Wf {
FONT-SIZE: 12px
}
.rmsg TD {
FONT-SIZE: 12px
}
.rmsg A {
FONT-SIZE: 12px
}
.rmsg A {
FONT-SIZE: 12px
}
.ns4Wf {
FONT-SIZE: 13px
}
.menu {
COLOR: #000066; FONT-WEIGHT: bold; TEXT-DECORATION: none
}
A.menu:hover {
TEXT -DECORATION: none
}
.tab {
COLOR: #ffffff; FONT-WEIGHT: bold; TEXT-DECORATION: none
}
A.tab:hover {
TEXT -DECORATION: underline
}
.msnNav {
COLOR: #d6e7ef; FONT-SIZE: 10px; TEXT-DECORATION: none
}
FONT.red {
COLOR: #e00505
}
TR.H {
BACKGROUND-COLOR: #c3d6e6
}
.rdonly

Copy Right© All Right Reserved® 2006


Page 40 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

{
background : #D1D9E0
}
.bttntext {
COLOR: #336699; FONT-WEIGHT: bold; TEXT-DECORATION: none
}
.Bsbttn {
BACKGROUND: #d6e7ef; BORDER-BOTTOM: #104a7b 1px solid; BORDER-LEFT: #afc4d5
1px solid; BORDER-RIGHT: #104a7b 1px solid; BORDER-TOP: #afc4d5 1px solid; COLOR:
#000066; CURSOR: hand; FONT-SIZE: 13px; TEXT -DECORATION: none
}

.Bsbttn1 {
BACKGROUND: #D5DEF7;
COLOR: #000066;
CURSOR: hand;
FONT-SIZE: 11px;
TEXT -DECORATION: none;
border: 1px solid #A3B7ED;
}

.sbttn {
BACKGROUND: #d6e7ef; BORDER-BOTTOM: #104a7b 1px solid; BORDER-LEFT: #afc4d5
1px solid; BORDER-RIGHT: #104a7b 1px solid; BORDER-TOP: #afc4d5 1px solid; COLOR:
#000066; CURSOR: hand; HEIGHT: 19px; TEXT-DECORATION: none
}

.Frame12 {
BACKGROUND: blue;
BORDER-BOTTOM: #104a7b 2px solid;
BORDER-LEFT: #afc4d5 2px solid;
BORDER-RIGHT: #104a7b 2px solid;
BORDER-TOP: #afc4d5 2px solid;
COLOR: white;
HEIGHT: 19px;
PADDING-LEFT: 4px;
PADDING-RIGHT: 4px;
PADDING-TOP: 2px;
TEXT -DECORATION: none;
}
.pbttn {
BACKGROUND: #D1D8E9;
BORDER-BOTTOM: #104a7b 2px solid;
BORDER-LEFT: #afc4d5 1px solid;
BORDER-RIGHT: #104a7b 2px solid;
BORDER-TOP: #afc4d5 1px solid;
COLOR: white;
HEIGHT: 19px;
PADDING-LEFT: 4px;
PADDING-RIGHT: 4px;

Copy Right© All Right Reserved® 2006


Page 41 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

PADDING-TOP: 2px;
TEXT -DECORATION: none;
}
.bar {
BACKGROUND: #D1D8E9;
BORDER-BOTTOM: #104a7b 2px solid;
BORDER-LEFT: #afc4d5 1px solid;
BORDER-RIGHT: #104a7b 2px solid;
BORDER-TOP: #afc4d5 1px solid;
COLOR: white;
HEIGHT: 19px;
PADDING-LEFT: 4px;
PADDING-RIGHT: 4px;
PADDING-TOP: 2px;
TEXT -DECORATION: none;
Background-image:URL("../image/bar_1.gif");
}
.bar2 {
BACKGROUND: #60709B;
BORDER-BOTTOM: White 2px solid;
BORDER-LEFT: #afc4d5 1px solid;
BORDER-RIGHT: #104a7b 2px solid;
BORDER-TOP: #afc4d5 1px solid;
COLOR: white;
HEIGHT: 19px;
PADDING-LEFT: 4px;
PADDING-RIGHT: 4px;
PADDING-TOP: 2px;
TEXT -DECORATION: none;
}
.pbttn:hover:unknown {
TEXT -DECORATION: none
}
.obttn {
BACKGROUND: #d6e7ef; COLOR: #777777; PADDING-BOTTOM: 1px; PADDING-LEFT:
6px; PADDING-RIGHT: 6px; PADDING-TOP: 1px; TEXT-DECORATION: none; VERTICAL-
ALIGN: middle
}
.ns4obttn {
BACKGROUND: #d6e7ef; COLOR: #8ca5b5; FONT-SIZE: 12px; TEXT -DECORATION: none
}
.ns4sbttn {
BACKGROUND: #d6e7ef;
BORDER-BOTTOM: #104a7b 1px solid;
BORDER-LEFT: #afc4d5 1px solid;
BORDER-RIGHT: #104a7b 1px solid; BORDER-TOP:
#afc4d5 1px solid; COLOR: #000066;
FONT-SIZE: 12px; HEIGHT:
19px; TEXT-DECORATION: none
}

Copy Right© All Right Reserved® 2006


Page 42 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

.drpdwn {
BACKGROUND-COLOR: #d6e7ef; COLOR: #000066
}
TABLE.Mtable TD {
BORDER-BOTTOM: #c1cdd8 1px solid
}
.inPgBrdr {
BORDER-BOTTOM: #8ca5b5 1px solid; BORDER-LEFT: #8ca5b5 1px solid; BORDER-
RIGHT: #8ca5b5 1px solid; BORDER-TOP: #8ca5b5 1px solid
}
.smcRow {
BORDER-TOP: #c1cdd8 1px solid
}
.smcDiv {
BORDER-BOTTOM: #8ca5b5 1px solid; BORDER-LEFT: #8ca5b5 1px solid; BORDER-
RIGHT: #8ca5b5 1px solid; BORDER-TOP: #8ca5b5 1px solid; HEIGHT: 117px; MARGIN: 0px;
OVERFLOW-X: hidden; OVERFLOW-Y: auto; PADDING-BOTTOM: 0px; PADDING-LEFT: 0px;
PADDING-RIGHT: 0px; PADDING-TOP: 0px; WIDTH: 344px
}
.msglistcntrl TD {
BORDER-BOTTOM: medium none
}
.tagline {
COLOR: #d6e7ef; FONT-WEIGHT: bold; TEXT -DECORATION: none
}
.PPModuleTtlTxt {
COLOR: #104a7b; FONT-FAMILY: tahoma,sans-serif
}
.PPDesTxt {
FONT-FAMILY: tahoma,sans-serif
}
.PPModuleBrd {
BACKGROUND-COLOR: #dbeaf5
}
.PPModuleTtlTbl {
BACKGROUND-COLOR: #dbeaf5
}
.PPDynamicTbl {
BACKGROUND-COLOR: #ffffff
}
.PPRSbmtBtn {
BACKGROUND: #dbeaf5; BORDER-BOTTOM: #104a7b 1px solid; BORDER-LEFT: #afc4d5
1px solid; BORDER-RIGHT: #104a7b 1px solid; BORDER-TOP: #afc4d5 1px solid; COLOR:
#000066; CURSOR: hand; FONT-FAMILY: tahoma,sans -serif; FONT-SIZE: 13px; FONT-WEIGHT:
normal; TEXT-DECORATION: none
}

.MessText{
BACKGROUND: #D0DBE6;
BORDER-BOTTOM: #104a7b 1px solid;

Copy Right© All Right Reserved® 2006


Page 43 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

BORDER-LEFT: #afc4d5 1px solid;


BORDER-RIGHT: #104a7b 1px solid;
BORDER-TOP: #afc4d5 1px solid;
COLOR: #000066;
FONT-FAMILY: tahoma,sans-serif;
FONT-SIZE: 11px;
FONT-WEIGHT: normal;
TEXT -DECORATION: none
}
.txt{font -size:12;font -family:arial; Text-Decoration:none;}

.ts{
Background:#D1D9E0;
text-align: center;
}
.FilterHead{
Background:#D1D9E0;
text-align: center;
color : red;
}
.ts1{
Background:#6A82B7;
text-align: center;
; color:white;
Cursor : Hand;
background-image:URL(/image/COLOR4.gif);
filter: Alpha(Opacity=100, FinishOpacity=70, Style=20, StartX=10, StartY=10, FinishX=10,
FinishY=10), Style=?, StartX=?, StartY=?, FinishX=?, FinishY=?); }
}
.ts2{
Background:#B5C0DB;
text-align: center;
; color:white;
}
.TH{Font-size:12; background:#9AAEC2; font-family:arial}
.THF{Font -size:13}
.r1
{
BORDER-BOTTOM: black 1px solid;
BORDER-LEFT: black 1px solid;
BORDER-RIGHT: black 1px solid;
BORDER-TOP: black 1px solid;
FONT-FAMILY: verdana,Sans -Serif;
FONT-SIZE: 8pt;
FONT-FAMILY: tahoma,sans-serif;
FONT-SIZE: 11px ;
Font-size:1; background: #C4CFE6; border:0;
}
.btn1
{

Copy Right© All Right Reserved® 2006


Page 44 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

border:0;
color: #FFFFFF;
background: #5C759E;
background-image:URL(image/DEFAULT.gif);
background-image:URL(image/hover.gif);
}
.btn
{
border:3;
color: #FFCC00;
background: #FFCC00;

}
.btnDelete
{
border:0;
color: #FFFFFF;
background: #5C759E;
background: #ffffff;
background-image:URL(/Personnel/image/hover.gif);
background-image:URL(/Personnel/image/eraser.gif);
height:15;
}
.rnot
{
border-color:gray;
}
.hand
{
Cursor : Hand;
}
.SumTotal {
font-weight: bold;
text-decoration: underline overline;
color: #FF0000;
}
.HeadingSetting {
background-color: #E4E7F1;
border: thin solid #D2D7E8;
}
.ReportFooter {
font-family: Arial, Helvetica, sans -serif;
font-size: 10px;
text-decoration: underline overline;
}
.ReportHeading {
text-align: center;
font-size: 14px;
color: #5074C7;
}

Copy Right© All Right Reserved® 2006


Page 45 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

.Graph { background-image: url(../image/bar.jpg)}


.label1 {
background-color: #C9D7FC;
}

3.14 Others

There are numbers of image and icon files are used.

4. System Design:
This chapter introduces techniques for the design of interfaces, menus, and databases, based
on the requirement specification worked out during the analysis phase (functioning diagram,
relationship diagram, data flow diagram...). At the end of this phase, you need to identify the
borderline between the computer system and human being and find the answer to the question
of how to attain the system's objectives.

The design of an appropriate information system requires that analysts understand the goals
and objectives of management. They must also be sensitive to changes that may occur to
these goals and objectives over tim e in response to shifts in the competitive environment.
4.1 Input Design
4.1.1 Registration of client
This section register client information and register mail ID for specific domain.
4.1.2 Login Board
Basically, For security purpose to view mails we should login site and can see our
personal mails only.
4.1.3 Mail list
Mail list show the list of mail in box that are sent by others.
4.1.4 Compose mail
This section contain about composing mail and sending only.

4.2 Output Design


A number of basic design principles ensure that the output is presented in a way that is easy
to understand and interpret. Notes, headings, and output formats should be standardized
whenever possible. Format consistency is an attribute of ‘user-friendly’ output. Users feel
comfortable. With familiar layouts. Acronyms and abbreviations in output should be avoided
especially when the output will serve novice users. Define words that may be unfamiliar to
the user. Algorithms and assumptions on which calculations are based should be available to
users of the output. This assures correct interpretation of output.

4.3 Database Design


A specialized set of programs, called a Data Base Management System (DBMS) is generally
acquired to help computer users access and manipulate the data in a data base system. Most
DBMSs inclu de a special query language that allow users to access the data base, retrieve

Copy Right© All Right Reserved® 2006


Page 46 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

information from data base without having to write a program. Data can be added, retrieved,
updated, and deleted from data base using DBMS functions. If writing an application
program for a transactional system n batch, the programmer accesses and uses the data base
by writing the program in a record-level language provided by the DBMS, which is called the
host language. An important function provided by a DBMS is data independence. Data
independence means that users and programmers are insulated from database. They do not
know how the physical database is stored. Since all access to data is made via the DBMS,
data base management systems can perform another important function- data access
protection. For example, the DBMS might be programmed to refer to an internal security
matrix to determine which data elements a particular user is permitted to access and what
type of operations that users can perform- read only, write only, or read, write and delete.

4.4 Module level Design


4.5 Design Methodology
There are many ways to approach system design and many tools and techniques that
contribute to the design process. In this part we will find a discussion of still other
methodologies that are comely used by analysts.

4.5.1 Information System Design and Optimization System (ISDOS) :-


will be able to generate system specifications from user requirements recorded in a machine-
readable form, design an optimal system to meet these specifications, and construct code for
operational system.

4.5.2 Pseudocode:
Pseudocode can be used to describe an algorithm. Although pseudocode resembles structured
English (SE) in using a restricted subset of English, it may be coded and more closely
resemble a programming langua ge.

4.5.3 Structured Design (SD)


Nature of SD is achieved (implemented) by dividing the system in independent modules
(separate pieces) that can be designed, implemented and modified with no (or little) effect on
other modules of the system. Coarse (tho) program structure, based on DFD, is depicted by
means of a structure chart. This structure chart, which resembles an organization chart, show
relationships between units or modules, and how modules are combined to achieve systems
(organization) and design goals.

4.5.4 Jackson Design Methodology (JDM)


The JDM is a three-step design technique. In essence, it decomposes the design process itself.

4.5.5 Hierarchy Plus Input, Process, and Output (HIPO)


HIPO is a graphic technique that can be used to describe a system. A series of drawings
are prepared by analysts that show the function of the system starting with general
overview diagrams, then proceeding to detailed diagrams of each specific function.

Copy Right© All Right Reserved® 2006


Page 47 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

4.6 Structure Chart


4.7 Transaction Analysis
4.8 Specific Data Abstraction, Information Hiding
4.9 System Flow
4.9.1 Home page
Purpose Over all information of web site.
Sample www.messenger.com
Screen

4.9.2 Registration client


Purpose Captures the account information of client
Sample
Screen

4.9.3 Login
Purpose Captures the major mail account
Sample Login
Screen

Copy Right© All Right Reserved® 2006


Page 48 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

4.9.4 Check mail


Purpose Captures the list of mails
Sample
Screen

4.9.5 Compose mail


Purpose Captures the mail out going information
Sample
Screen

4.9.6 Change password


Purpose Captures the selected mail only
Sample
Screen

Copy Right© All Right Reserved® 2006


Page 49 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

5. Security of the System:-


5.1 Physical Security
Source file is existed in web server so client computer can just access a copy of web page
allotted by web server.

5.2 Operating System Level Security,


Use name and password project the data of individua l and session object control the session
which is highly used fro session security. After finishing the session data can not be accessed.

5.3 Database Security,


Database has its own username and password which save the data of database. Database
consists of all the data and mail of users.

5.4 Application Security,


It’s a web base application and it depends upon the web server security. It can get all the
security provided by web server.
5.5 Transaction Security,
Session is used to more secure the transaction.

5.6 Authorization of Transaction and Periods End Runs


5.7 Master File and Parameter Maintenance
5.8 System Administration
Developer himself can manage the administrative work.

6. Conclusion:-
This present project report has been undertaken to examine and evaluate the email
management system in web base application. Web base application has so many advantages
that we can get through that application.

In comparison with the pop mail, it is very useful and easy to operate. It can be access any
where the internet is provided. It does not need any configuration into the local machine to.

About the issue of security, this project is build on Microsoft framework so, all the security
and protection have been inherited automatically when we use this system. In additional we
have implement session approach which make more secured.

Lastly, its better system for email system. Even we have to think of remote and un reach area
to promote their communication.

Copy Right© All Right Reserved® 2006


Page 50 of 51
www.messenger.com
Projected:- 4BCA, Rajendra Man Banepail – ASP Platform

7. Bibliography: -

• Project Report – Messenger.com (Individual personal project work)


• Email management system for remote and un reach.
• Mr. Suwal Ramesh – Project Cordinator
• Rule and regulation inherited – hotmail.com, yahoo.com
• Design and screen inspiration of msn.com
• Technology research while in teaching.
• Reference by: - System Analysis and Design –Elias M. Awad, ASP 3 Instant
Reference – Evangelos Petroutsos (BPB Publication), System Analysis and Design –
downloaded from Internet.

Copy Right© All Right Reserved® 2006


Page 51 of 51

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