Installation Guide for Oracle Self-Service E-Billing > Configuring Oracle WebLogic > Process of Configuring Oracle WebLogic for the Billing and Payment Application >

Setting the Mail Server Properties for the Billing and Payment Application


You must configure the notification mail server properties file, globalConfig.xma.xml, with the mail host, message transport protocol, and mail account authentication properties for your organization.

This task is a step in Process of Configuring Oracle WebLogic for the Billing and Payment Application.

To set the notification mail server properties

  1. Open the globalConfig.xma.xml file, located in the following directory:
    • UNIX. EDX_HOME/xma/config/modules
    • Windows. EDX_HOME\xma\config\modules
  2. Find the mailProperties property. Modify the following:
    • mail.host. Specify a fully qualified IP address or name of a host running the SMTP which can be used to send email.
    • mail.transport.protocol. Specify the default message transport protocol.
  3. If your company mail server requires mail account authentication, then set the following properties. If not, then set the mail.smtp.auth property to false, or remove the three properties:
    • mail.smtp.auth. If the value is true, then your mail server attempts to authenticate the user. Set a mail account registered in your mail server.
    • mail.user. If mail.smtp.auth is true, then set the user name to use when connecting to the mail server.
    • mail.password. If mail.smtp.auth is true, then set the user password to use when connecting to the mail server.
  4. If your company mail server requires SSL connection, then set the mail.smtp.socketFactory.class property. If not, then remove the following property:

    "mail.smtp.socketFactory.class: If set, specifies the name of a class that implements the javax.net.SocketFactory interface. This class will be used to create SMTP sockets. For SSL connection, please set to javax.net.ssl.SSLSocketFactory"

    Example of the mail properties:

    <property name="mailProperties">

    <props>

    <!-- For non authentication mail server

    <prop key="mail.host">mail.example.com</prop>

    <prop key="mail.transport.protocol">SMTP</prop>

    -->

    <prop key="mail.host">stbeehive.example.com</prop>

    <prop key="mail.transport.protocol">SMTP</prop>

    <!-- For requiring authentication mail server -->

    <prop key="mail.smtp.auth">true</prop>

    <prop key="mail.user">eBillingAdmin_WW@example.com</prop>

    <prop key="mail.password">eBilling603</prop>

    <!-- For SSL connection mail server-->

    <prop key="mail.smtp.socketFactory.class">javax.net.ssl.SSLSocketFactory</prop>

    <prop key="mail.smtp.socketFactory.port">465</prop>

    </props>

    </property>

    <property name="messageFrom"><value>admin@example.com</value></property>

  5. If your company mail server does not use the SMTP default port 25, then set the mail.smtp.socketFactory.port property, indicating which port to use with the specified socket factory.
Installation Guide for Oracle Self-Service E-Billing Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.