SEND_MAIL hangs random characters to mail text

Document ID : KB000087834
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
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#".

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('bac@automic.com',,'Subject', "&text#")when the Mail-Text is in &text#