WebSphere Adapter for Email

Configuring J2C connection factory properties for mail server connectivity

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

  1. In WebSphere Integration Developer, switch to the J2EE perspective by selecting Window > Open perspective > Other > J2EE Perspective.
  2. Confirm that the server is started. If it is not, right-click the server instance and start the server.
  3. Open the server administrative console by right clicking the server instance and selecting Run administrative console.
  4. In the admin console, expand Applications and click Enterprise Applications.
    Steps to get to this images of the expanded Applications menu are described in the text.
    Enterprise Applications window
  5. Click EmailOutboundSampleApp and then scroll to the very bottom of the screen and select Connector Modules.
    Steps to get to this image are described in the text.
    Select Connector modules
  6. Select CWYEM_Email.rar and then, under Additional Properties, select Resource Adapter.
  7. Under Additional Properties, select J2C connection factories.
  8. Select EmailOutboundSample.EmailOutboundInterface_CF.
  9. 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.
    The steps to get to this custom properties screen are supplied in the text.
    Click to change property values
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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)