E-Mail Server Configuration

Table of Contents

Overview

The mail server must be configured from the Control Panel in order to send Alerts, Log Files, and Reports as e-mail messages from the CommCell Console.

Configure an Internal Mail Server

Use the following procedure to configure an internal e-mail server (for example, Exchange or Lotus Notes) to send e-mails.

  1. From the CommCell Console ribbon, click the Home tab, and then click Control Panel.

  2. In the Monitoring section of the Control Panel dialog box, click E-Mail & Web Server Configuration.

  3. From the E-Mail & Web Server Configuration dialog box, click the E-Mail Server tab and enter the following information:

    • The name of the mail server in the Mail Server box, for example, smtp.mailservername.com
    • Optional: The mail server port in the Mail Server Port box (the default is 25)
    • Optional: The mail server size limit in the Mail Server size limit box
    • Optional: The sender name in the Sender Name box
    • A valid e-mail address in the Senders Address box
  4. Click Test Mail to send a test e-mail.
  5. From the Test Mail Confirm message, click OK.

    If you received the test e-mail, click OK to the success message. If you did not receive the e-mail, an error message appears.

  6. Click OK to save the E-Mail Server configurations.

If you change the default SMTP port number or disable/enable the use of SSL, restart the Server Event Manager (EvMgrS) service in the CommServe computer. See Services for instructions on viewing and controlling services.

Configure an External Mail Server

Use the following procedure to configure an external e-mail server (for example, Gmail, Yahoo, or an ISP-provided SMTP) to send e-mails.

  1. From the CommCell Console ribbon, click the Home tab, and then click Control Panel.

  2. In the Monitoring section of the Control Panel dialog box, click E-Mail & Web Server Configuration.

  3. From the E-Mail & Web Server Configuration dialog box, click the E-Mail Server tab.

  4. In the Mail Server box, enter the name of the mail server, for example, smtp.gmail.com or smtp.mail.yahoo.com.

  5. In the Mail Server Port box, enter 587.

    The default port is 25, but when Enable SSL is selected, port 587 must be used.

  6. Click the Use Authentication checkbox.

  7. In the User Name box, type a valid name recognized by the specified mail server.

  8. Enter and confirm the password associated with the user name.

  9. Select the Enable SSL check box to enable Secure Socket Layers to access the mail server.

  10. Click Test Mail to send a test e-mail.

  11. From the Test Mail Confirm message, click OK.

    If you receive the test e-mail, click OK to the success message. If you did not receive the e-mail, an error message appears.

  12. Click OK to save the E-Mail Server configurations.

If you change the default SMTP port number or disabled/enabled the use of SSL, restart the Server Event Manager (EvMgrS) service in the CommServe computer. See Services for instructions on viewing and controlling services.

Setting the Timeout Period for the Mail Server

Use the following procedure to set the timeout period for the email server.

Tip: If you are receiving duplicate emails, increase the timeout period to 120000 milliseconds (2 minutes).

  1. Use the qlogin command to log onto the CommServe.
  2. To change the timeout period for the email server, go to software_installation_directory/Base and type the following command:

    qoperation execscript -sn SetKeyIntoGlobalParamTbl.sql -si mailTimeOutValue -si y -si time_milliseconds

    where time_milliseconds is the length of time in milliseconds of the timeout period.

  3. Run the qlogout command to log off the CommServe computer.

Services That Communicate with the SMTP Server

The following services communicate with the SMTP server:

  • CVd: Sends email notifications as part of the virtual machine expiration check.
  • EvMgrS
  • IIS/Web Server (W3wp)
  • SendLogFiles: Sends log files in an email.
  • ScheduleReport
  • VMManagement: Sends email notifications when virtual machine creation succeeds or fails.
  • Workflow: Sends emails when the workflow includes activities that include an email.