JavaMail and WebLogic Server

The second half of this chapter focuses specifically with using JavaMail with WebLogic Server. We look first at configuring your WebLogic Server to use JavaMail, and then look at the details of building, sending, and receiving messages, and developing your own JavaMail applications.

Configuring WebLogic Server with a Mail Session

When writing email applications or components, you have a choice as to how you are going to define your Session object:

  • You can create a new Session object and set all the session properties into the body of the code or in initialization parameters.

  • You can create and define a Mail Session with the Administration Console. This is a universal javax.mail.Session object and is made available ...

Get BEA WebLogic Server™ 8.1 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.