How do yo send an email from a contact form?

Not sure if this is an HTML or Javascript post?

I got this code:

<form action="mailto:info@mymeail.com" method="post" enctype=”multipart/form-data” >

Then my form… and way at the bottom I got this

<button = "submit" id="submit" >Submit</button>
</form>

Now that is great… but what else is needed to make the submit button send and email after the form is done?

There is this website that I could use (https://formsubmit.co/)… but what else are they doing besides my code to send an email without their stuff?

When you click submit it is sent to the server then the server sends the email. When I did this the server was already set up to handle it. If your interested in reading further check:
https://blog.hubspot.com/marketing/html-form-email

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.