Submit data from website via email

I have a form-field and I want to submit the input data via e-mail by hitting the submit button. Is this possible? Or do I need to store these data in a database?

There is a similar Topic “How to send the form data to email…” But the answer for me as a bit too less verbose.

Does anyone know very practical and maybe a bit oversimplicating ressources just to get an idea of how it works? (MDN is a bit too verbose and I got lost)

You can do this with PHP using the mail() function if your server is set up to use it:

https://www.w3schools.com/php/func_mail_mail.asp

1 Like