My Oracle Support Banner

How to Setup a Mail Service in OC4J. (Doc ID 234490.1)

Last updated on OCTOBER 15, 2021

Applies to:

Oracle Containers for J2EE - Version 10.1.2.0.0 to 10.1.2.3.0 [Release AS10gR2]
Information in this document applies to any platform.
Information in this document applies to any platform.

Purpose

When a Java application needs to send an email , the common solution is, using Java Mail API,
startup a service and a session (connect to the server), then construct and send the mail.
OC4J provides a standard place to configure the service, so the application just have to locate the service through JNDI.

Scope

Developers and deployers for email services.

Details

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Scope
Details
 Define the service
 Locating and Using the service in a JSP

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.