Thanks for replying! What I actually want to do is send an email that corresponds to the code that the user fills the input field with. For example, if a user writes the code “23222” and he clicked the button “Submit” it will send an email to “someone@gmailcom”. The idea of running the query on page load is a very good idea, even though I don’t think it applies in my case. I was just trying to get the email back to the page.
Could you help me with the email sending?

