Setting Up Self-Registration Email

The feature that emails a user's registration information to the host company requires Java mail. To enable Java mail, specific Java classes are required. The feature also requires that you specify the email address that should receive the registration information and header information for the email.

  1. Copy the file mail.jar and activation.jar files into the following directory:

    WEBLOGIC_DIRECTORY/APPLICATION_DIRECTORY/servletclasses/

  2. In startWebLogic.sh/cmd, add mail.jar and activation.jar to the POST_CLASSPATH statement.

  3. Add the following lines in the mimes section of the weblogic.properties file.

    weblogic.httpd.mimeType.text/plain=txt, text

  4. Set up the emails that will be sent when users self-register.

    1. Open the file emxTeamCentral.properties, located in the ematrix/properties directory.
    2. Edit these four settings so the email is sent to the appropriate email address and contains the appropriate header information.

      Property Description
      String host = 
      "mailhost.website.com";    

      Specify the host email server.

      String from = 
      "configurable@website.com";
      

      Specify the email address that the emails should appear to be from.

      String to   = 
      "configurable@website.com";
      

      Specify the email address the email should be sent to. This should be the email address for the person who will add the employees or who will forward the information to the person who will add the employees.

      String msgsubject = "HOST 
      COMPANY registration request"; 

      Specify the subject of the email.

    3. Save the file.