For the adapter to access the mail server, you must change the
username and password values in the J2C connection properties through the WebSphere® Process
Server administrative console. In addition, if you are using a remote mail
server, you must also change the host and port values.
About this task
If you have not
installed the mail server on the same system as WebSphere Process Server or
Enterprise Service Bus, set the host and port number properties in the managed
connection factory custom properties from the WebSphere Process Server Administrative
console as noted in the following steps. Regardless of where your mail server
is installed, you must configure two users on your mail server for the adapter
project. To do this, follow the steps listed below.
How
to perform this task
- In WebSphere Integration Developer, switch to the J2EE perspective
by selecting
- Confirm that the server is started. If it is not, right-click the
server instance and start the server.
- Open the server administrative console by right clicking the server
instance and selecting Run administrative console.
- In the admin console, expand Applications and
click Enterprise Applications.Enterprise Applications window
- Click EmailOutboundSampleApp and then scroll
to the very bottom of the screen and select Connector Modules.Select Connector modules
- Select CWYEM_Email.rar and then, under Additional
Properties, select Resource Adapter.
- Under Additional Properties, select J2C connection factories.
- Select EmailOutboundSample.EmailOutboundInterface_CF.
- Under Additional Properties, select Custom Properties.Custom
properties window The Custom Properties screen
appears. From this screen, you can select and then change any of the managed
connection factories property values.Click to change property values
- Click userName to open the userName property
dialog and change the mail server name. When finished, click Apply and
then OK. You will be returned to the Custom
Properties screen.
- Optional: Click password to
open the password property dialog and change the mail server password. When
finished, click Apply and then OK. You will be returned to the Custom Properties screen.
- Optional: If you are using a remote mail server, click host to
open the host property dialog and change the mail server host. When finished,
click Apply and then OK. You will be returned to the Custom Properties screen.
- Optional: If you are using a remote mail server, you
may need to change your port. If so, click port to
open the port property dialog and change the mail server port. When finished,
click Apply and then OK. You will be returned to the Custom Properties screen.
- Save your configuration changes.
Result
The adapter has all of the
information it will need to connect with the mail server.
Terms of use |
Last updated: Mon 30 Oct 2006 03:44:38
(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)