Configure mail providers and sessions
Overview
WebSphere Application Server includes a default mail provider called the built-in provider. If you use the default mail provider you only have to configure the mail session, which is the last step in this task. To use the customized mail provider first create the mail provider and session:
Procedure
- Open the administrative console.
- Click Resources > Mail Providers.
- Create the mail provider.
- Click New.
- Type the name of the mail provider in the Name field.
- Click Apply or OK.
- Define the protocol provider for the mail provider.
- Click mail_provider.
- Click Protocol Providers.
- Click New.
- Type the protocol name in the Protocol field.
- Type the class name in the Class name field.
- Click Apply or OK.
Ensure that every mail session is defined under a parent mail provider. Select a mail provider first and then create your new mail session.
- Create the mail session.
- Click mail_provider.
- Click Mail Sessions.
- Click New.
- Type the mail session name in the Name field.
- Type the JNDI name in the JNDI Name field.
- Click Apply or OK.
- Configure the mail session.
- Click mail_provider.
- Click Mail Sessions.
- Click mail_session.
- Make changes to appropriate fields.
- Click Apply or OK.
What to do next
If your application has a client one can configure JavaMail providers and sessions using the Application Client Resource Configuration Tool (ACRCT).
See also
Mail provider collection
Mail provider settings
Protocol providers collection
Protocol providers settings
Mail session collection
Mail session settings
JavaMail system properties
Related Tasks
Configuring new mail sessions for application clients
Configuring mail providers and sessions for application clients