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.
Component : AUTOMATION ENGINE
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.
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