I am trying to create webpage where user can entered its detail like first name, last name, address and phone number. Once they have entered details and click on Send button it should send email to my email address and it should redirect to another page.
I am able to send email using mailto:email@gmail.com but it opens outlook with user details and then they need to click on send button to send email. I don't want outlook to be open and it should directly send email when they click on send button on form.
I am using JavaScript for validation and basic HTML tag to create form. Can anyone help me how to send email directly using HTML/JavaScript?
Thanks.