Connected: An Internet Encyclopedia
RFC 821 - A Typical SMTP Transaction Scenario

Top: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 821
Up: APPENDIX F: Scenarios
Prev: APPENDIX F: Scenarios
Next: Aborted SMTP Transaction Scenario

### A Typical SMTP Transaction Scenario

This SMTP example shows mail sent by Smith at host USC-ISIF, to Jones, Green, and Brown at host BBN-UNIX. Here we assume that host USC-ISIF contacts host BBN-UNIX directly. The mail is accepted for Jones and Brown. Green does not have a mailbox at host BBN-UNIX.

             R: 220 BBN-UNIX.ARPA Simple Mail Transfer Service Ready
             S: HELO USC-ISIF.ARPA
             R: 250 BBN-UNIX.ARPA

             S: MAIL FROM:<Smith@USC-ISIF.ARPA>
             R: 250 OK

             S: RCPT TO:<Jones@BBN-UNIX.ARPA>
             R: 250 OK

             S: RCPT TO:<Green@BBN-UNIX.ARPA>
             R: 550 No such user here

             S: RCPT TO:<Brown@BBN-UNIX.ARPA>
             R: 250 OK

             S: DATA
             R: 354 Start mail input; end with <CRLF>.<CRLF>
             S: Blah blah blah...
             S: ...etc. etc. etc.
             S: .
             R: 250 OK

             S: QUIT
             R: 221 BBN-UNIX.ARPA Service closing transmission channel

                                   Scenario 1

Next: Aborted SMTP Transaction Scenario

Connected: An Internet Encyclopedia
RFC 821 - A Typical SMTP Transaction Scenario