of Email Client Software Project
of Email Client Software Project
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.
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
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