E mail protocols

583 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
583
On SlideShare
0
From Embeds
0
Number of Embeds
37
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

E mail protocols

  1. 1. E-MAIL PROTOCOLS
  2. 2. User Agent  The first component of an electronic mail system is the user agent (UA). It provides service to the user to make the process of sending and receiving a message easier.
  3. 3. Message Transfer Agent  The actual mail transfer is done through message transfer agents (MTAs). To send mail, a system must have the client MTA, and to receive mail, a system must have a server MTA.  The formal protocol that defines the MTA client and server in the Internet is called Simple Mail Transfer Protocol (SMTP).
  4. 4. Message Access Agent  The first and the second stages of mail delivery use SMTP. However, SMTP is not involved in the third stage because SMTP is a push protocol; it pushes the message from the client to the server.  In other words, the direction of the bulk data (messages) is from the client to the server.  On the other hand, the third stage needs a pull protocol; the client must pull messages from the server.  The direction of the bulk data are from the server to the client. The third stage uses a message access agent.
  5. 5. MIME  Electronic mail has a simple structure. Its simplicity, however, comes with a price. It can send messages only in NVT 7-bit ASCII format.  In other words, it has some limitations. Multipurpose Internet Mail Extensions (MIME) is a supplementary protocol that allows non-ASCII data to be sent through e-mail.  MIME transforms non-ASCII data at the sender site to NVT ASCII data and delivers it to the client MTA to be sent through the Internet.  The message at the receiving site is transformed back to the original data.
  6. 6. Push and Pull
  7. 7. Scenario -I 1 2
  8. 8. Scenario-II 1 2 3 4 5
  9. 9. Scenario-III 1 2 3 4 5 6 7
  10. 10. Scenario-IV 1 2 3 4 5 6 8 9
  11. 11. Types Of E-Mail  Webmail e.g. Gmail,Hotmail,Yahoo Mail  POP3 e.g. Mozilla thunderbird,Opera Mail,Eudora  IMAP e.g. Mozilla thunderbird,Opera Mail,Eudora  MAPI e.g. Microsoft Outlook
  12. 12. PHP MAILER  The mail() function allows you to send mail.  The mail functions are part of the PHP core. There is no installation needed to use these functions.
  13. 13. Requirements  For the Mail functions to be available, PHP must have access to the sendmail binary on your system during compile time. Name Default mail.add_x_header "0" mail.log NULL SMTP "localhost" smtp_port "25" sendmail_from NULL sendmail_path "/usr/sbin/sendmail -t -i"
  14. 14. Thank You!!!

×