A Java Mail Example
| Objective: | Demonstrate how to work with Javamail. This example shows how to get information from the web form and send it through email. |
| Context: | The XYZ.com company decides to
create a feedback forum so employess can send suggestions and isues to the
company. .
All the codes are listed bellow
|
| Steps: |
|
The following files compose the Java Sax Parser example:
| Qty and Type | File Name | Brief Desrcription |
| 1 HTML files | index.html | Main page of feedback forum |
| 1 JSP file | FeedbackForm.jsp | Page to enter a new feedback information |
| 2 Java files | InsertNewFeedback.java | Servlet that extract information from the form and send email |
| SendMail.java | Send mail class | |
Do you want to download the whole example and try it by yourself ??? Go ahead, but don't forget to send me a feedback with your opinion, ok??? Thanks !!!
The following file contains all the codes :
| FeedbackExampleFromSiomara.zip - (6KB) This zip file contains all the codes for this example |
Click
here if you want to see the
SCREEN SHOTS
of this example when executed correctly