send_mail receiving U00020408 0000000000050007 completion code
search cancel

send_mail receiving U00020408 0000000000050007 completion code

book

Article ID: 213927

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

When running a send_mail command, the completion code coming back is U00020408 0000000000050007 or U00050007. 

This is not currently listed in the documented return codes here - this article explains a bit more of what the code is.

Environment

Component : AUTOMATION ENGINE

Resolution

The full message shoulde be:

U00050007 SMTP server '&02' has rejected the E-mail recipient: '&01'

SMTP server returned an error code in response to the SMTP command 'RCPT'. &01 = SMTP Server response &02 = Name of the SMTP server Possible reasons: - see response of SMTP server - invalid e-mail recipient ->Check the recipient addresses (recipient field an cc field) within the corresponding UC4 object

The documentation will be updated to state:

"50007" - The SMTP server has rejected the E-mail recipient.

Additional Information

More information on this return code can be found in the "Messages" documentation: https://docs.automic.com/documentation/webhelp/english/AA/12.3/AE/12.3/Messages/Messages.htm#500xx.htm#50007