WebSphere Adapter for Email

Configuring activation specification properties for mail server connectivity

For the adapter to access the mail server, you must change the username and password values in the activation specification 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 EmailInboundSampleApp 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 Activation specifications.
  8. Select EmailInboundSample.EmailInboundInterface_AS.
  9. Under Additional Properties, select J2C activation specification custom properties.
    The surrounding text explains what is in this image.
    Select J2C activation specification custom properties
    The first page of Custom Properties appears. From these screens, 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.
    Select and change properties in the admin console
  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)