SEND_MAIL does not work after upgrade to V9 or V10

Document ID : KB000089466
Last Modified Date : 14/04/2018
Show Technical Document Details
SEND_MAIL does not work after upgrade to V9 or V10


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


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.



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.