60 likes | 185 Views
CSD008 Week 9. Java Network Programming. Assignment. Write an applet that is a email client It must follow SMTP specification http://www.faqs.org/rfcs/rfc821.html Mandatory Applet that acts as text only email client that works for example on next slide(s) Discretionary
E N D
CSD008 Week 9 Java Network Programming
Assignment Write an applet that is a email client It must follow SMTP specification http://www.faqs.org/rfcs/rfc821.html Mandatory Applet that acts as text only email client that works for example on next slide(s) Discretionary Extra functionality from RFC implemented, advanced GUI design and / or any valid improvements Exceptional Additional Functionality that significantly improves the applet e.g. attachments, address book etc (must demonstrate high level of understanding of the project and solution!)
SMTP Example 1 Open TCP connection to mail.ucd.ie on port 25 Message Sequence: S: 220 Clarion.ucd.ie -- Server ESMTP (PMDF V6.2-X10#30834) C: HELO ucd.ie S: 250 Clarion.ucd.ie OK, dhcp-c1018357.ucd.ie [<IP Address>]. C: MAIL FROM:<your email address> S: 250 2.5.0 Address Ok. C: RCPT TO:<destination address> S:250 2.1.5<destination address> OK.
SMTP Example 2 C: DATA S: 354 Enter mail, end with a single ".". C: Subject: Test Message C: Blah Blah Blah C: . S: 250 2.5.0 Ok. C: QUIT S: 221 2.3.0 Bye received. Goodbye.