0% found this document useful (0 votes)
18 views5 pages

Practical No 15

Uploaded by

hgattewar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views5 pages

Practical No 15

Uploaded by

hgattewar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Practical no 15

Aim: configuration SMTP POP3 and IMAP using relevant softawre

Theory: SMTP stands for Simple Mail Transfer Protocol, and it is responsible for
sending email messages. This protocol is used by email clients and mail servers to
exchange emails between computers.

A mail client and the SMTP server communicate with each other over a connection
established through a particular email port. Both entities are using SMTP commands
and replies to process your outgoing emails. Thanks to the Simple Mail Transfer
Protocol, messages can be sent from the same account on different email
applications.

What is POP3?

1
The POP3 abbreviation stands for Post Office Protocol version 3, which provides
access to an inbox stored in an email server. It executes the download and deletes
operations for messages. Thus, when a POP3 client connects to the mail server, it
retrieves all messages from the mailbox. Then it stores them on your local computer
and deletes them from the remote server.

Thanks to this protocol, you are able to access the messages locally in offline mode
as well.

Modern POP3 clients allow you to keep a copy of your messages on the server if
you explicitly select this option.

What is IMAP?

2
The Internet Message Access Protocol (IMAP) allows you to access and
manage your email messages on the email server. This protocol permits you to
manipulate folders, permanently delete and efficiently search through messages. It
also gives you the option to set or remove email flags, or fetch email attributes
selectively. By default, all messages remain on the server until the user specifically
deletes them.

IMAP supports the connection of multiple users to a single mail server.

Configuration:: 1. SMTP (Simple Mail Transfer Protocol)

Purpose: Used for sending outgoing emails.

Server Configuration:

1. Server Software: Postfix (Linux), Microsoft Exchange (Windows), Send mail (Linux), etc.
2. Common Ports: 25 (unencrypted), 587 (STARTTLS), 465 (SSL/TLS).

3
Postfix Configuration (Linux):

 Edit the configuration file

SMTP Configuration

Step 1.SMTP Host: smtp.gmail.com

Step 2.SMTP Port: 587

Step 3.SSL Protocol: Off

Step 4.TLS Protocol: On

Step 5.SMTP Username: (Your Gmail Email Address)

Step 6.SMTP Password: (Your Gmail Email Password)

POP3 Configuration

Step 1.POP3 Host: pop.gmail.com

Step 2.POP3 Port: 995

Step 3.TLS Protocol: On

Step 4.POP3 Username: (Your Gmail Email Address)

Step 5.POP3 Password: (Your Gmail Email Password)

4
IMAP Configuration

Step 1.POP3 Host: imap.gmail.com

Step 2.POP3 Port: 993

Step.3Encryption: On

Step 4.POP3 Username: (Your Gmail Email Address)

Step 5.POP3 Password: (Your Gmail Email Password)

Concluation: we have successfully execute a program

You might also like