Configure the mail provider

 

+

Search Tips   |   Advanced Search

 

A mail provider encapsulates a collection of protocol providers. Protocol providers interact with JavaMail APIs and mail servers running those protocols. WAS has a built-in mail provider that encompasses three protocol providers...

These protocol providers are installed by default and should be sufficient for most applications. However, you can configure a new provider if necessary.

To configure a new mail provider, complete the following steps from the console:

  1. Expand...

      Resources | Mail Providers

  2. Select Scope and click Apply. The scope determines whether JavaMail resources configured to use this provider will be available at the cell, node, or the appserver level.

  3. Click New to configure a new mail provider.

  4. Enter a name and a description, and then click Apply. The properties required to configure a new mail provider are shown in Figure 6-24.

  5. Click Protocol Providers under the Additional Properties section.

  6. Click New to add a protocol provider.

    The properties to configure are:

    Protocol Protocol name.
    Classname Implementation class for the specific protocol provider. The class must be available in the classpath.
    Classpath Path to the JAR files that contain the implementation classes for this protocol provider.
    Type Type of protocol provider. Valid options are:

    STORE Used for receiving mail.
    TRANSPORT Used for sending mail.

    For guidance, you can look at the protocol providers provided with the built-in mail provider.

  7. Click OK and save the configuration.

Next