Change the question.
On this site, do you know how the email is delivered to the person in charge and how the Thanks screen changes after sending?

  • Answer # 1

    (Assuming that the code that was pasted before editing is still there) It seems that cgi is used in the presented code (from the action attribute of form).
    In any case, you need a server-side language to send emails.