Murach's Java Servlets and JSP (2nd Edition)
How to use JavaMail to send email
This chapter shows how to install the JavaMail API and how to use it to send an email from a servlet.
|
|
|
|
How email works |
488 |
|
How to install the JavaMail API |
490 |
|
Code that uses the JavaMail API to send an
email message |
492 |
|
|
How to create a mail session |
494 |
|
How to create a message |
496 |
|
How to address a message |
498 |
|
How to send a message |
500 |
|
|
A helper class for sending an email with a local SMTP server |
502 |
|
A servlet that uses a helper class to send
an email message |
504 |
|
A helper class for sending an email with a remote SMTP server |
508 |
|
t |
|
|
|
|
© Copyright 1998-2009 Mike
Murach & Associates, Inc. All rights reserved.
|