A form that can send emails without a backend?

Hello everyone, I am trying to add a contact form in my project. I want it to be able to take the data that was typed in and email it to a certain address.
Is there a way to achieve this without using a backend? I previously had tried the React useForm hook, but it telling me that I was breaking the rules of hooks with nesting.
Is there another option that I am missing here?
Thanks in advance for your advice.

Would this work??
<form action="mailto:someone@example.com" method="post" enctype="text/plain">

I could have worded this better. I mostly mean is there a way to do this without me touching the server, because I have no idea what I am doing on the backend.
So it looks like react-hook-form is the option for me.
Do you know of a way to use react hooks in a nested component? I am trying to use it on the last page of my current project.

You can try this solution, you don’t need to implement the back-end and you don’t need a private server, Google handles everything.