Under standard configuration, it is possible to execute jobs without specifying a password in the LOGIN object when the Unix Agent is configured for anonymous execution. This setup typically includes:
Within this framework, most job executions—including the SEND_MAIL command—operate as expected without requiring explicit credentials.
However, a limitation is observed when attempting to include file attachments via SEND_MAIL. While the email itself is successfully delivered, the attachment is not included due to file access restrictions.
:set &hnd#=SEND-MAIL("<email>",,"<subject>","<message>","<attachment>","<AGENT>","<LOGIN>")
The below can be seen within the AWI:
U00050013 Error when reading attachment file '/home/<user>/attachment.txt' error code: 'canRead()==false', error description: Cannot read file'.
Release: v24.x
Component: Automation Engine
Sub-Component: Agent Unix
DE182438 and DE177161
Solution:
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Agent Unix
Automation.Engine 24.4.4 - Available
Desc: A problem has been fixed where the Login_Check setting was not considered in the Unix Agent for sending email attachments.