O'Reilly logo

J2EE™ Applications and BEA™ WebLogic Server™ by Sandra L. Emerson, Rob Woollen, Michael Girdley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using JavaMail to Send Simple Email

In this section, we use WebLogic Server JavaMail to construct a Java ServerPage (JSP) Web page that generates an email based on the data included in the form (see Figure 11-1).

Figure 11-1. Form for Sending Email

The user inputs an Internet address for both the recipient and the sender, and requests that the message be sent. The recipient of this message would see something like Figure 11-2.

Figure 11-2. Email Message Received

Note that the message subject is IGNORE. As you'll see, this is because our demonstration ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required