Sorry, I do not understand your question. The screenshot shows an email, right? Are you asking what code did generate the email? Or what code did generate the output that was used for the contents of the email? Also, you refer to an "error". I do not see any error on the screenshot. It says "Success", right?