Configure the IMAP settings

When WSRR is installed a default WSRRMailService is configured that uses an IMAP protocol provider defined in WebSphere® Application Server.

About this task

To log on to the server to store a copy of sent email, you must have a valid IMAP server address and user credentials. Ensure the user is the same as set for the Return email address in the SMTP server settings.

An appropriate timeout value is required to avoid problems caused by an infinite default timeout value.

Procedure

  1. Log on to your WebSphere Application Server administrative console in your Deployment Manager or stand-alone server.
  2. Navigate to Resources > Mail > Mail Providers > WSRR Mail Provider > Mail Sessions > WSRRMailSession
  3. Set the Server, Protocol, User, and Password, in the Incoming Mail Properties section.
  4. Optional: To set the time out, choose the WSRRMailSession that has the JNDI name mail/WSRRMailService. Click Custom properties in the Configuration tab to add a new property with the following values:
    Property Value
    Name mail.imapp.connectiontimeout
    Value A time out value, in milliseconds, to use when connecting to the imap server, for example 5000, for 5 seconds.
    Description An optional descriptive comment.
    Type java.lang.Integer

    For details of other IMAP parameters that can be added as custom properties, see the related link.

  5. Click OK and save the new settings to the WebSphere Application Server master configuration.
  6. Restart the WebSphere Application Server to activate the Mail transport host setting.