Quote:
I need to send email when submit button is Clicked.
There is basically 2 solutions:
- On client side: By using a link like <a href="mailto:someone@example.com?Subject=Hello">Send Mail</a>
The link opens a new mail on client side, but sending the mail or not is a client choice, its contain too.
- On server side: Just like in solution 1, you must call some code on server which will do the job.