Email Notification Failure
search cancel

Email Notification Failure

book

Article ID: 401180

calendar_today

Updated On:

Products

CA Harvest Software Change Manager CA Harvest Software Change Manager - OpenMake Meister

Issue/Introduction

Got an email notification failure during HARVEST check in action by a user.

Is the email text captured anywhere? Can it be resent? 

When failure, is it possible to have a ‘retry’ process and/or display the email text on screen in the HARVEST WORKBENCH ‘output log’ window?

 I00060079: Check in summary: Total: 9; Success: 9; Failed: 0; Not Processed: 0.
 I00020133: Error sending mail: message transmission error ().

Environment

Harvest Software Change Manager all versions

Resolution

There are 2 ways to send notification emails to customers. 

The primary way is through the "Notify" process or the "HSMTP" command line utility.  With this option, the text of the message is not captured within Harvest in case the message transmission fails, but there are options you can set up in the "hsmtp.arg" file that will allow for retries:

  • -delay number
    (Optional) Specifies the number of seconds to wait between retries and before trying the next server in the list when the retries for the current server have been exhausted. For Common Gateway Interface (CGI) scripts, specify few retries and short delays to return with a results page before the HTTP connection times out. For unattended scripts, you may want to use many retries and long delays to increase the probability of your mail being sent even with temporary failures on your network.
    Default: 1 second
  • -retries number
    (Optional) Specifies how many times the connection to the same SMTP server retries when a failure occurs.

The second option for sending notification emails is to create a custom UDP script to accomplish the task.  When using this method, the script can be programmed to capture the message content for later review or retry and/or to re-send incase of transmission failure.

Additional Information

Information about the Mail Utilities built into the Harvest software product can be found here:  Set Up the Mail Utilities