In the tree component, expand the Resources node, then select the JavaMail Sessions node.
On the JavaMail Sessions page, select the session to be edited.
On the Edit JavaMail Session page, you can perform these tasks:
Click the Targets tab to go to the JavaMail Session Targets page. On this page, do the following:
Click Manage Targets to open the Manage Resource Targets page.
On this page, move targets between the Available column and the Selected column. Make sure to place in the Selected column the target or targets to which applications that use the resource will be deployed. The available targets include the available clusters and server instances as well as the default server instance, server. Click OK to save the changes.
Select the checkbox for a target, then click Enable or Disable to enable or disable the resource for that target.
Click Save to save the changes, or click Load Defaults to restore the default values for a mail session.