ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

SEND_MAIL hangs random characters to mail text


Article ID: 87834


Updated On:


CA Automic Workload Automation - Automation Engine


Error Message :

If you use SEND_MAIL, some random text might be added to the mail-text. E.g. there is an extra line behind the text with zeros only. What and if there is extra text depends on what script-functions are executed beforehand and is not predictable. The problem does not occur when quoting the mail body "&text#".


Release: AUTWAB99000-11.0-Automic Workload Automation-Base Edition


This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Fix Version(s):
Automation.Engine 11.1.3 - already released
Automation.Engine 11.2.1 - already released

Additional Information

Workaround :
Use double quotes for parameter text in SEND_MAIL:SET &ret# = SEND_MAIL('[email protected]',,'Subject', "&text#")when the Mail-Text is in &text#