The goal of this programming assignment is to create a simple mail client that sends email to any recipient. Your client will need to establish a TCP connection with a mail server ( e. g., a Google mail server), dialogue with the mail server using the SMTP protocol, send an email message to a recipient ( e. g., your friend) via the mail server, and finally close the TCP connection with the mail server.
For this assignment, the companion Web site provides the skeleton code for your client. Your job is to complete the code and test your client by sending email to different user accounts. You may also try sending through different servers (for example, through a Google mail server and through your university mail server).
Graduate Students: Complete either of the following tasks.
Bonus: Complete one of the above tasks for an additional grade of 5 points.
What to turn in: A soft-copy of your source code and program documentation to be uploaded to WebCampus.