Homework 4
Deadline: 2016-12-11 09:00 PPT: homework4.pdf
Purpose:
- How to read API Documentation.
- Basic knowlegde of JDBC and JavaMail API
- Muti-threaded programming
- The simplest semantic analysis
Step A
- Create a database with several available email addresses
Step B
- Send email from your own email address to those email addresses via
javax.mail
Step C
- Get the reply from those emails using javax.mail
Step D
- Decide the meaning of the response and print the answer of each received mail.
Extra Credict:
- Create another thread to listen to the email-box, inform the user as soon as a new email arrives.
- Sending files along with text.
- Sending images.
Attention:
- This is an indiviual programming project. However, you can send email to your classmates. Your classmates can manually or automatically reply your email.
- You are free to decide the database schema (table structures)
- The message you sent should be a QUESTION with two possible answers so that it will be easy to identify
- You can download the JavaMail API here