8.4.1 Create JavaMail Session

This topic explains the systematic instructions to create JavaMail session.

To configure the JavaMail session, follow the steps below.

  1. Start the Administrative Console of the WebLogic application server. Enter the Oracle WebLogic Admin Console URL in the address bar in an internet browser. For example:http://10.10.10.10:1001/console
    Oracle Weblogic Server - Welcome screen is displayed.

    Figure 8-77 Oracle Weblogic Server - Welcome


    The image shows the Oracle Weblogic Server - Welcome Screen. It displays several fields to specify the Oracle Weblogic Server - Welcome.

  2. Specify the WebLogic administrator Username, Password and click Log In.
    Oracle Weblogic Server - Home Page screen is displayed.

    Figure 8-78 Oracle Weblogic Server - Home Page


    The image shows the Oracle Weblogic Server - Home Page Screen. It displays several fields to specify the Oracle Weblogic Server - Home Page.

  3. On the left pane, under Domain Structure, expand Services and Click Mail Sessions under it.
  4. Click the Lock & Edit button.
    Summary of Mail Sessions screen is displayed.

    Figure 8-79 Summary of Mail Sessions


    The image shows the Summary of Mail Sessions Screen. It displays several fields to specify the Summary of Mail Sessions.

  5. Click on the New button to create a new mail session.
    Create a New Mail Session screen is displayed.

    Figure 8-80 Create a New Mail Session


    The image shows the Create a New Mail Session Screen. It displays several fields to specify the Create a New Mail Session.

  6. On the Create a New Mail Session screen,specify the fields.

    Figure 8-81 Create a New Mail Session


    The image shows the Create a New Mail Session Screen. It displays several fields to specify the Create a New Mail Session.

    Table 8-9 Create a New Mail Session

    Field Description
    Name Specify the name as FCUBSMailSession.
    JNDI Name Specify the JNDI Name as mail/FCUBSMail.
    Java Mail Properties Specify the following mail properties.
    • mail.host=<HOST_MAIL_SERVER> (For example: samplename.mail.com)
    • mail.smtps.port=<SMTPS_SERVER_PORT> (For example: 1010)
    • mail.transport.protocol=<MAIL_TRANSFER_PROTOCOL>(For Example: smtps)
    • mail.smtps.auth=true
    • mail.smtps.host==<HOST_SMTPS_MAIL_SERVER> (For example: samplename.mail.com)
  7. Click on Next.
    Create a New Mail Session - Targets screen is displayed.

    Figure 8-82 Create a New Mail Session - Targets


    The image shows the Create a New Mail Session - Targets Screen. It displays several fields to specify the Create a New Mail Session - Targets.

  8. Check the box against the required servers and click Finish to complete the configuration.
    fcubs.properties file needs to be updated with the encrypted values of
    • SMTP_HOST
    • SMTP_USER
    • SMTP_PASSWORD
    • SMTP_JNDI

    This can be achieved using the Oracle FLEXCUBE Universal Banking Installer.

  9. Click the Activate Changes button under the Change Center to activate the current mail session settings. The message All the changes have been activated. No restarts are necessary is displayed.
    Summary of JDBC Data Sources - Activate Changes Message screen is displayed.

    Figure 8-83 Summary of JDBC Data Sources - Activate Changes Message


    The image shows the Summary of JDBC Data Sources - Activate Changes Message Screen. It displays several fields to specify the Summary of JDBC Data Sources - Activate Changes Message.

The JavaMail Session is created.