Mail Client
Department Of Computer Science & Enginering
ADITYA ENGINEERING COLLEGE
AB
ST An e-Mail client is an email program;
RA software designed to collect and send
electronic mail.
CT
It is also referred to as an email
program, or mail user agent (MUA) ,
used in email headers.
AB
ST Networking standards have been established
RA to make exchange of messages possible from
a virtual unlimited pool of clients.
CT
The “addressing” information is included in
the headers, along with the name of the email
program as the “mail user agent.”
AB
ST Software requirements:
RA
CT
Operating System: Windows, Linux
Software’s: Java SDK 2, Borland
JBuilder , Eclipse
AB
ST HARDWARE REQUIREMENTS:
RA
No of Systems: 2 - Client & Server (Minimum)
CT
Processor: Intel P4 (Or equivalent)
Hard Disk : 40 GB
RAM: 512 MB (minimum)
Network: Standard Wired/Wireless network with
either Ad-hoc or infrastructure mode
T JAVA :
E HISTORY:
C Java is a programming language developed by James
H -Gosling at Sun Microsystems and released in 1995.
The language, initially called Oak after an oak tree that
N stood outside Gosling's office, later renamed as Java
O FEATURES:
L Portability
O Security
Inheritance
G Encapsulation
Polymorphism
Y
D MAIL CLIENT:
E
S An email client is software that allows you to read and send
email through your account by connecting to this server.
C
R Email clients generally provide a simple interface through which
I you can access your email account.
P
T Ex:- IU Webmail, Thunderbird, Eudora, Mac
OS X Mail, Outlook Express
I
O
N:
D
E
S
C
R
I
P
T
I
O
N
D Travelling of emails:
E
S
C
R
I
P
T
I
O
N
JAVA MAIL API:
D
E Introduction
S
C The JavaMail API is a fairly high-level representation of the basic
components of any email system.
R
I The abstract class javax.mail.Message represents an email message.
P JavaMail is a Java API used to receive and send email via SMTP,POP3
T and IMAP.
I The JavaMail API defines classes such as Message, Store, and Transport.
O
N
D SOCKET:
E
S A socket(Internet socket)software object that connects an application to a
network protocol
C
In Java, a program can send and receive TCP/IP messages by opening a
R socket and reading and writing data to and from the socket.
I
Sockets constitute a mechanism for delivering incoming data packets to the
P appropriate application process or thread, based on a combination of local
and remote IP addresses and port numbers.
T
I A socket address is the combination of an IP address (the location of the
computer) and a port (which is mapped to the application program process)
O into a single identity
N
D Types of Sockets:
E
S Datagram sockets
use User Datagram Protocol (UDP
C Stream sockets
R use Transmission Control Protocol (TCP)
I Raw sockets
P Here the transport layer is bypassed, and the packet headers are
not stripped off
T
I
There are also non-Internet sockets, implemented over other transport protocols,
O such as Systems Network Architecture (SNA)
N
D Reserved sockets:
E
S TCP/IP reserves the lower 1,024 ports for specific protocols. Many of these
will seem familiar to you if you have spent any time surfing the Internet.
C
R Port number 21 is for FTP,
I 110 is for POP3 incoming mail
P 25 is for SMTP outgoing mail
T 80 is for HTTP,
I 119 is for netnews—and the list goes on.
O
N:
D PORTS:
E
S A port is an application-specific software construct serving as a
communications endpoint used by Transport Layer protocols of the
C Internet Protocol Suite such as TCP and UDP based on port number.
R Port number:
I A port is identified by its number, known as the port number, the IP
address it is associated with, and the protocol used for communication.
P Range of Port Numbers:
T The Well Known Ports are those from 0 through 1023.
I The Registered Ports are those from 1024 through 49151.
O The dynamic or Private Ports are those from 49152 to 65535.
N:
D INET ADDRESS:
E
S The InetAddress class is used to encapsulate both the numerical IP
address we discussed earlier and the domain name for that address.
C
R You interact with this class by using the name of an IP host
I
P The InetAddress class is used to encapsulate both the numerical IP
address and the domain name for that address.
T
I InetAddress can handle both IPv4 and IPv6 addresses.
O
N:
ADVANTAGES OF EMAIL CLIENT
Receive all of your emails from all of your email accounts in one email client.
It saves the emails and your address book to your computer.
If your computer crashes, you don't lose anything. It is there for when you
get back online and sign in.
If you leave the emails on the web they will eventually be deleted from
the web mail.
DISADVANTAGES OF EMAIL CLIENT
Seems more prone to spyware and viruses
Available only on Microsoft Windows Computers
Local folders not accessible on other computers
Hard to Configure (Exchange vs. IMAP)Lacks Graphics support
Fails to Display some email formats correctly
SCREEN
S
Login screen
Login screen after details entered
Mail Window
Get Mail
Messages
Messages
C
O
N This project is used to read mails without a browser
C
This is highly protected as it is secure
L
U The user friendly screens are provided
S
I
O
N
bi
bl
io JAVA COMPLETE REFERENCE
-Schildt
gr Thinking in JAVA
a -Bruce Eckel
p www.google.com
h www.wikipedia.org
y www.encyclopedia.com