When the user clicks on the send button, "the sendmail.php " page is loaded. Here we will take input from the HTML form using the ID attribute. The option you choose depends on how you work and what platform you're using. This is the basic syntax of PHP mail() function. Further breaking it down, "mail" sends the completed form as an email to "your@email.address," and the subject line is what follows. First, in the controller, you must decorate the parameter name with the FromBody attribute. Why are there two different pronunciations for the word Tee? For example:
send html form data to email using jquery