How to send data from a form to an email, being I the recipient of the data and the customer receiving a confirmation sending in his email?

Asked

Viewed 16 times

0

I’m developing a website using bootstrap, and I want to get into this area.

I made a condensed budget form the inputs: Name, Phone, E-mail, Message containing details and type service (Using Check box).

At the end, a send button.

There is my doubt,

I want the customer when click send, receive a confirmation email. and I receive in my email the form data.

I do this only using JS?

Thank you very much, guys!

  • I still do not understand very well, there is no way to use only with html and JS?

  • To accomplish this process, you must use a programming language such as: php, Asp classic, c#, etc..., and in the code of this language configure two or more submissions with different texts, only with javascript I do not know.

  • I found one of Mandrill that has API and can do everything with javascript, but I do not recommend it because anyone can get the e-mail in the javascript code, follow the link: https://medium.com/@mariusc23/send-an-email-using-only-javascript-b53319616782

  • has this Nodemailer, link: https://www.w3schools.com/nodejs/nodejs_email.asp, looks like this: send mail javascript

  • Thank you very much, I will try to put the solutions put here, and I will keep you informed.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.