
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

COP 3330 Assignment #1 Spring 2004 The purpose of this assignment is to introduce you to the mail protocol, specifically the Simple Mail Transfer Protocol we discussed in class. Since you will be writing programs to implement this protocol, this exercise is designed to give you some experience with the protocol as a kind of “training” exercise so that you will know exactly what to expect when you have write code to do the same thing – in short, you will be “understanding the problem” we will ask you to solve later. Procedure: Step 1. Logon to your pegasus account. Step 2. Execute the following telnet command >telnet longwood.cs.ucf.edu 25 This command connects you to port 25 of the computer called longwood on the University network. Longwood will be executing the SMTP program in response to SMTP commands you enter. So, if you enter a correct command, everything should work fine. If you make a mistake, Longwood will respond with an error code reply. Make note of the response to each command you send! You will need this information for answering one or two questions on the next quiz. Step 3. Enter the following sequence of SMTP commands. Be sure to press ENTER or RETURN from the keyboard after each command – this will generate a
HELO
HELO <pegasus.cc.ucf.edu> MAIL < your-email-address > MAIL FROM: < your-email-address > RCPT < your-email-address > RCPT TO: < your-email-address > RCPT TO: < [email protected]> DATA SUBJECT: Assignment 1, COP 3330 My name is: your-name End of Exercise!
Step 4. After entering the QUIT command, the session with Longwood should end and you will be back to Pegasus. Logoff at this point to end the exercise. Step 5. Check the mail box you sent mail to and make sure it arrived. 12/1/2020 Page 1 January 15, 2004