Configure a JavaMail session using the administrative console

The WebSphere administrative console is used to configure a JavaMail session for a servlet or JavaServer Pages (JSP).

To configure a JavaMail session using the administrative console, perform these steps:

  1. Open the WebSphere Application Server administrative console. For more information, see Start the WebSphere administrative console in the Administration topic.
  2. In the topology tree, expand Resources, and click Mail Providers.
  3. Select the Server radio button, and click Apply.
  4. Click Built-in Mail Provider.
  5. Click Mail Sessions, and click New to create a new Mail Session.
  6. Fill in these fields:
  7. Click OK.
  8. Click Save on the toolbar to save the configuration.
  9. Click Save again to update the master repository with your changes.
  10. Restart your application server instance. For more information, see Start and test your application server in the Administration topic.