sending email with bootstrap [closed]

-4

I've seen the comment below on a post , I would like to know if you would have this script to send email via bootstrap, I could not find it on the site.

  

"I recommend using the script provided by the bootstrap itself. After all, the reason I want to avoid php or any other server side language is that you do not know how to use it, right? , it has php, mysql, etc .. Bootstrap comes with a sample, a very simple php script to send mail in the contact form .. that form is not enough for you? "

    
asked by anonymous 02.08.2016 / 20:46

1 answer

1

Unless we are talking about a Backend written in NodeJS , it is not possible to send a E-mail using only JavaScript .

If you do not have Backend for your page, perhaps the simplest solution is to use some existing API , such as EmailJS or Gmail API

If you prefer you can write your own Microservice in the language of your choice, here are some recommendations:

For any of the above choices, there are thousands of guides on the internet how to email.

As for Bootstrap , you will do the same as it would without it, send a request Ajax to Microservice and let the server send the email.

    
02.08.2016 / 21:08