When attempting to use the SEND_MAIL script function, an error like the following occurs:
U00020574 Runtime error in object 'SCRI.NAME', line '00001'. Login object 'LOGIN.SMTP_LOGIN' not found or no login information for this platform or host ('MAIL', '*')
This occurs when there is a dedicated login object for SMTP authentication
All versions
Login object is incorrectly configured to use an Agent name instead of the required asterisk * placeholder for the Agent field
To resolve this error, modify the LOGIN.SMTP_LOGIN object (or other login object depending on SMTP_LOGIN setting in UC_CLIENT_SETTING) to use the wildcard character (*) fro the Agent field.
Open the Login object used for SMTP (e.g., LOGIN.SMTP_LOGIN).
Navigate to the Login tab.
In the Agent field, ensure the value is a single asterisk (*).
The SEND_MAIL function does not run on a specific agent; it utilizes the Automation Engine's internal processes, which look for the wildcard * here.
Save and Close the Login object.
Test the SEND_MAIL script again.
Example of Correct Login Object Configuration: