0% found this document useful (0 votes)
14 views1 page

WT Short Note

The document explains the components and protocols involved in email communication, including Email, IMAP, MUA, MDA, MTA, DNS, and SMTP. It details how emails are sent using PHP and the necessary configurations in the php.ini file for different operating systems. IMAP allows for email management on the server without downloading, while SMTP is the standard for sending emails over the Internet.

Uploaded by

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

WT Short Note

The document explains the components and protocols involved in email communication, including Email, IMAP, MUA, MDA, MTA, DNS, and SMTP. It details how emails are sent using PHP and the necessary configurations in the php.ini file for different operating systems. IMAP allows for email management on the server without downloading, while SMTP is the standard for sending emails over the Internet.

Uploaded by

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

1.A method of exchanging messages 4.

IMAP (Internet Message Access


instantly from one system to another with Protocol): • IMAP is a standard protocol
the help of the internet is called an Email. for accessing email from the local server.
IMAP used to receive the emails from the
2. To send an email message in PHP, we
mail server and retrieving the emails. •
use the mail() function. On Unix servers
IMAP allows the client program to
such as Linux and Mac OS X, PHP uses the
manipulate the email message on the
operating system’s built-in Mail Transfer
server without downloading them on the
Agent (MTA) to send the email. (Common
local computer. • In IMAP the e-mail is
MTAs include sendmail, postfix etc.). On
hold and maintained by the remote server.
non - Unix servers such as Windows, PHP
IMAP enables us to take any action such
talks directly to an SMTP mail server.
as downloading, delete the mail without
1. Mail User Agent (MUA): The MUA is the
reading the mail. • IMAP enables us to
application the sender(who composes
create, manipulate and delete remote
mail) uses to compose and read email,
message folders called mail boxes. IMAP
such as Eudora, Outlook, Thunderbird, etc.
also enables the users to search the e-
2. Mail Delivery Agent (MDA): A mail
mails. • IMAP allows concurrent access to
delivery agent or message delivery agent
multiple mailboxes on multiple mail
(MDA) is a computer software component
servers. The IMAP is a used by email
that is responsible for the delivery of e-
clients to retrieve email messages from a
mail messages to a local recipient’s
mail server over the Internet.
mailbox. 3. Mail Transfer Agent
(MTA): A message transfer agent or mail 5. SENDING EMAIL WITH PHP: • To send
transfer agent (MTA) or mail relay is email using PHP we must configure the
software that transfers electronic mail php.ini file with the details of how the
messages from one computer to another, system sends email. • Open the file
using client-server architecture. php.ini and go to the section entitled [mail
4. Domain Name System (DNS): A DNS function]. • To set
translates the domain name to IP the SMTP setting:
addresses. smtp = smtp.my.server.net
• Set the sendmail_from seting to reflect
3. SMTP: • To send email, SMTP (Simple
your email address:
Mail Transfer Protocol) is used. SMTP is
sendmail_from = [email protected]
reliable, connection oriented and text
• Linux users simply need to let PHP know
based protocol. • SMTP is the standard
the location of their sendmail application.
protocol for sending emails over the
The path and any desired switches should
Internet. Port 25 is the default SMTP non-
be specified to the sendmail_path
encrypted port. • The communication. •
directive. • The configuration
The server then forwards the message to
for Linux should look something like this:
the appropriate receiving SMTP server.
smtp =
Then it will place the message in the
sendmail_from =
appropriate spot i.e. mailbox or popbox. •
; for unix only
That gets the mail from one server to the
sendmail_path = /usr/sbin/sendmail -t -i
next, there are couple of protocols that
are used in this case – POP3 and IMAP.

You might also like