7.5.1 Creating JavaMail Session

To configure mail session, follow the steps below.
  1. Expand ‘Services’ on the left pane of the application server. Click ‘Mail Sessions’.Description of picture78.png follows
    Description of the illustration picture78.png
  2. Click ‘Lock & Edit’.Description of picture79.png follows
    Description of the illustration picture79.png
  3. Following screen is displayed; Click ‘New’ for creating a new session.Description of picture80.png follows
    Description of the illustration picture80.png
  4. Following screen is displayed.Description of picture81.png follows
    Description of the illustration picture81.png
  5. Specify the required details to create a session. Sample details are given below:

    Name

    FCUBSMailSession

    JNDI Name

    mail/FCUBSMail

    TRADE This JNDI name needs to be maintained in fcubs.properties file with encrypted format.

    Java Mail Properties

    mail.host=<HOST_MAIL_SERVER>

    Eg: samplename.mail.com

    mail.smtps.port=<SMTPS_SERVER_PORT>

    Eg: 1010

    mail.transport.protocol=<MAIL_TRANSFER_PROTOCOL>

    Eg: smtps

    mail.smtps.auth=true

    mail.smtps.host==<HOST_SMTPS_MAIL_SERVER>

    Eg: samplename.mail.com

  6. Click ‘Next’.

    The following screen is displayed.Description of picture82.png follows
    Description of the illustration picture82.png

  7. Check the box against the required servers and click ‘Finish’ to complete the configuration.
    TRADE ‘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 Banking Trade Finance Installer.

  8. Click ‘Active Changes’ button to activate the current mail session settings.Description of picture83.png follows
    Description of the illustration picture83.png