SEND_MAIL hangs random characters to mail text

book

Article ID: 87834

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
N/A

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#".

Environment

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

Resolution

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#