1 / 10

Simple Mail Transfer Protocol (SMTP)

Simple Mail Transfer Protocol (SMTP). Name: Chaitanya Krishna Telukuntla Date : 04-24-2007. Introduction. Objective is to transfer mail reliably and efficiently independent of particular transmission system

chogan
Télécharger la présentation

Simple Mail Transfer Protocol (SMTP)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Simple Mail Transfer Protocol (SMTP) Name: Chaitanya Krishna Telukuntla Date : 04-24-2007

  2. Introduction • Objective is to transfer mail reliably and efficiently • independent of particular transmission system • feature is its capability to relay mail across transport service environment by interprocess communication environment (IPCE)

  3. SMTP Model Commands/replies & mail Sender SMTP Receiver SMTP user File system File system

  4. Requests, Parameters and Responses • Request format: HELO yahoo.com • Response format: 250-yahoo.com 250-PIPELINING 250 8BITMIME

  5. Encoded addresses • Encoded box parts: angels \a\n\g\e\l\s "\a\n\g\e\l\s" "angels" "ang\els" • Encoded address: <xy@cs.odu.edu> <\xy@cs.odu.edu> <"xy"@gmail.com> <"\x\y"@yahoo.com>

  6. MAIL, RCPT and DATA • Server keeps track of envelope for the client 220 gmail.com ESMTP MAIL FROM:<pqr@yahoo.com> 250 ok RCPT TO:<xy@gmail.com> 250 ok RCPT TO:<ab@gmail.com> 250 ok • Argument to MAIL command is reverse path • Argument to RCPT command is forward path

  7. DATA: MAIL FROM:<pqr@yahoo.com> 250 ok RCPT TO:<xy@gmail.com> 250 ok DATA 354 ok Hi, testing new mail system. . 250 Written safely to disk

  8. QUIT QUIT 221 gmail.com saying goodbye

  9. Typical SMTP Scenario S:220 gmail.com SMTP service ready C:HELO yahoo.com S:250 gmail.com says hello to yahoo.com C: MAIL FROM:<pqr@yahoo.com> S: 250 ok C: RCPT TO:<xy@gmail.com> S: 250 ok FROM: pqr@yahoo.com TO:xy@gmail.com MIME-version:1.0 Message-id: <0704760941.AA00747 @yahoo.com> C:DATA S:354 Send mail; end with “.” on a line by itself C: Hi C: how are you? C: . S:250 ok C:QUIT S:gmail.com closing connection

  10. Queries?

More Related