Configure mail providers and sessions

WebSphere Application Server includes a default mail provider called 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:

 

  1. Open the administrative console.

  2. Click Resources > Mail Providers.

  3. Create the mail provider.

    1. Click New.

    2. Type the name of the mail provider in the Name field.

    3. Click Apply or OK.

  4. Define the protocol provider for the mail provider.

    1. Click mail_provider.

    2. Click Protocol Providers.

    3. Click New.

    4. Type the protocol name in the Protocol field.

    5. Type the classname in the Classname field.

    6. 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.

  5. Create the mail session.

    1. Click mail_provider.

    2. Click Mail Sessions.

    3. Click New.

    4. Type the mail session name in the Name field.

    5. Type the JNDI name in the JNDI Name field.

    6. Click Apply or OK.

  6. Configure the mail session.

    1. Click mail_provider.

    2. Click Mail Sessions.

    3. Click mail_session.

    4. Make changes to appropriate fields.

    5. Click Apply or OK.

 

What to do next

If your application has a client you can configure JavaMail providers and sessions using the Application Client Resource Configuration Tool (ACRCT).


Configure new mail sessions for application clients
Configure mail providers and sessions for application clients
Mail provider collection
Mail provider settings
Protocol providers collection
Protocol providers settings
Mail session collection
Mail session settings

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.