Configure JavaMail
Before you can write and deploy JavaMail applications, configure email services on your iSeries server. Enabling JavaMail in the WAS for iSeries environment involves the following steps:
Set up and configure e-mail services
On the iSeries platform, e-mail services are supported by Lotus Domino R5 Mail Server and TCP/IP Connectivity Utilities. This topic helps you set up and configure e-mail services.Configure a JavaMail session for your applications to use
You can configure a JavaMail session in one of the following ways, depending on what type of application you are using:
With the WAS administrative console. This tool is used to configure a JavaMail session for a servlet, JavaService Pages (JSP), or enterprise bean as the client, or user, of the API.
See Configure a JavaMail session using the administrative console for more information.With the WAS Application Client Resource Tool. This tool is used to configure a JavaMail session for a standalone client, such as a J2EE enterprise bean client.
See the Mail session settings for application clientstopic for more information.
Note: Use either tool to perform this task. You do not have to use both.