-2

I currently have a website with an input and a button on it. When the button is clicked, I want to have the input sent to me through email.

How can I send an email through HTML. I have seen other examples with using href mailto to send emails but what I want is not a link but when the code is run, send an email to myself.

Another option is through JavaScript

jonathanh8686
  • 78
  • 1
  • 6
  • You can't do this with only html. That's probably why every body is closing you. You have to submit to some form. Look at PHP or something simple to try it. – Amir Raminfar May 28 '15 at 00:08

1 Answers1

0

php is (probably) the easiest way, you can't do this with vanilla HTML

Tyler Sebastian
  • 9,067
  • 6
  • 39
  • 62