The Email connection facilitates the sending of emails either when a Notification objectstarts or when the scriptA particular Automation Engine object type. functionPre-defined run book template in the Automation Engine. One single step only, e.g. Start Windows Service, Copy file,… SEND_MAIL is used. This function has been implemented in the Automation EngineThis component drives an Automation Engine system and consists of different types of server processes. and in Windows, UNIX and Java agents (SAP, RA, JMX and SQL).
The MAPI2 interface of Windows agents is no longer available as of version 9.00A. The only supported email interface now is SMTP.
Only configure the Email connection for the AutomationEngine, it applies automatically for all agents that support the sending of emails (Windows, UNIX, SAP, RA, JMX, SQL). The System Overview includes the value "MAIL" in the "Service" column of all these agents.
Depending on the situation in which you send an email, either the Automation Engine or an agentA program that enables the de-centralized execution of processes (such as deployments) on target systems (computers or business solutions) or a service that provides connectivity to a target system (such as for databases or middleware). An agent is also an object type in the Automation Engine. [Formerly called "Executor."] See also: host is used. Ensure that they can access the relevant directory if you attach files.
Notification objects abort with a corresponding message when the sending of an email fails.
With SEND_MAIL, script processing continues if an error occurs. Despite this fact, you can use the script function :ON_ERROR and define an appropriate reaction.
The successful sending of emails is logged in the reports of the Notification objects. The script element SEND_MAIL does not output any information in the activation protocol. However, you can check the return codeThe value that represents the result of tasks and script functions. of this function and output a corresponding message.
![]() |
Configuring the AE E-mail connectionThis is a functionality of Windows and UNIX Agents that is used to send e-mails. |
---|
Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support |
Copyright © 2016 Automic Software GmbH |