user544079 user544079 - 7 months ago 33
HTML Question

html button to send email

How do i send email with the subject and message from a button in html

<form method="post" action="mailto:email.com?subject=subject&message=message">


where subject and message are the names of the form fien

Answer

You can use mailto, here is the HTML code:

<a href="mailto:EMAILADDRESS">

Replace EMAILADDRESS with your email.