search cancel

SEND_MAIL does not work after upgrade to V9 or V10

book

Article ID: 89466

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

SEND_MAIL does not work after upgrade to V9 or V10

Environment

Release: AOATAM99000-9.0-Automic-One Automation Tools-Application Manager
Component:

Resolution

Symptoms

After upgrading from Operations Manager V8 to Automation Engine V9 or V10 the SEND_MAIL script function no longer works when attaching a file.


Cause

As of V9 of the Automation Engine, the SEND_MAIL is performed by the Automation Engine component itself. In previous versions of the Operations Manager the SEND_MAIL was done by the OS Agent.

Reason for that:Security - an agent cannot be limited to one specific Mail-user as all Agents (WIN,UNIX) could "mail" and the agents potentially could access all files as they are running with root rights.

 


Resolution

The User that starts the Automation Engine must have access the the file that is being attached to the SEND_MAIL. If the user does not have permissions to the file the SEND_MAIL will fail.

For a user who is doing :SEND_MAIL with an attachment that means:

either to transfer the attachment to a share to which the server has acess and send the file correspondingly or to replace the :SEND_MAIL with NOTIFICATION and‚register external Output ' within the Jobs.