devxlogo

Sending Form Data via E-Mail

Sending Form Data via E-Mail

Question:
How can I send the data from a form via e-mail to some destination address?

Answer:
I won’t explain how to create a form; however, you can use the forms from my site as examples. In order to send the data from the form, you have to have some sort of program to perform the action. One simple way to do this is to replace the ACTION parameter in the

tag with a mailto link, as in this example:
That will send the data from the form to you directly by using the user’s mail program to do it.  This is the easiest way to do it without having any sort of backend program.

devx-admin

Share the Post: