If any type of error occurs as part of sending the email, the error string will be available to the enclosing policy in the local variable named error.do-send-email-from-template. Otherwise that local variable will be unavailable.
More Information#There might be more information for this subject on one of the following:
Add new attachment
Only authorized users are allowed to upload new attachments.