Additional Notes For Project 1: SMTP Server
Additional Notes For Project 1: SMTP Server
SMTP Server
l Grading
l How to Test Your Code?
l Telnet Command
l Mail Client: Sylpheed
Grading
l Runnable:
l Project should be runnable with Python 3.
Grading
l Test cases:
l TAs will manually communicate with your
mail server using SMTP commands by
telnet.
l TA will Use Sylpheed to send an email with
one attachment to your mail server run in
localhost
l Sylpheed: https://sylpheed.sraoss.jp/en/
l Due Date:
l Oct. 31, 2020 at 23:59
How to test your code?
l Output
at the
sender side
l Mail client
l For attachments
l You can use other email clients too
l Outlook 365/2016 may not be suitable.
l Set the SMTP server to be “localhost”
l Set the SMTP port number to be your own
port number chosen in your code like 1111.
l Suggested: Sylpheed. Available at
https://sylpheed.sraoss.jp/en/
Mail Client: Set Up Sylpheed
l You are recommended to use the
Windows version
l After installation, choose POP3 account
Mail Client: Set Up Sylpheed
1
Mail Client: Set Up Sylpheed
Files generated at
the server side
Message.txt
Our program will generate the message.txt and extract the attachments.
In this example, the code extracts two images.
Note that your output might not the same as this example.
It is OK if the core part was finished.
Mail Server: Output
…(We omit the long attachments’
encodings here)..