Configuring mail providers and sessions

A mail provider encapsulates a collection of protocol providers like SMTP, IMAP and POP3, while mail sessions authenticate users and controls users' access to messaging systems. Configure your own mail providers and sessions to customize how JavaMail is handled.

About this task

WebSphere Application Server includes a default mail provider called the built-in provider. If you use the default mail provider you only have to configure the mail session, which is the last step in this task. To use the customized mail provider you must first create the mail provider and session.

Procedure

  1. Open the administrative console.
  2. Click Resources > Mail.
  3. Click Mail Providers.
  4. Create the mail provider.
    1. Select the scope for the new mail provider.
    2. Click New.
    3. Type the name of the mail provider in the name field.
    4. Click Apply or OK.
  5. Define the protocol provider for the mail provider.
    1. Click mail_provider.
    2. Click Protocol Providers.
    3. Click New.
    4. Type the protocol name in the Protocol field.
    5. Type the class name in the Class name field.
    6. Click Apply or OK.

    Ensure that every mail session is defined under a parent mail provider. Select a mail provider first and then create your new mail session.

  6. Create the mail session.
    1. Click mail_provider.
    2. Click Mail Sessions.
    3. Click New.
    4. Type the mail session name in the Name field.
    5. Type the JNDI name in the JNDI Name field.
    6. Click Apply or OK.
  7. Configure the mail session.
    1. Click mail_provider.
    2. Click Mail Sessions.
    3. Click mail_session.
    4. Make changes to appropriate fields.
    5. Click Apply or OK.

What to do next

If your application has a client you can configure JavaMail providers and sessions using the Application Client Resource Configuration Tool (ACRCT).



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 12:02:36 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-zos&topic=tjtc_jcmp
File name: tmai_jcmp.html