I want to create a section of my portfolio website where people can contact me. It's designed to look similar to an email. I don't want to just include a link, but a whole form so they don't need to open a new window to send me an email. They can enter their name, email address, topic, and content then hit a send button.
The design is based off this website: email form from The Craftsmen The Craftsmen
I'm using Nextjs for this project and I image the code will look something like this:
<section id='contact'>
<div >
<form action="" >
<div>
<div >
<input type="text" placeholder="Name"/>
<input type="email" placeholder='E-mail'/>
<input type="text" placeholder='Subject'/>
<input type="text" placeholder='Message'/>
</div>
<div >
<button type="submit">Send</button>
</div>
</div>
</form>
</div>
</section>
Is there any way to make these input values into an email that is sent automatically to me? No need to open their email in browser.