e-mail sending with bootstrap

Asked

Viewed 1,592 times

-4

I saw the comment below on a post, I wonder if you had this script to send email by bootstrap, I could not locate on the site of the same.

"I recommend using the very script provided by bootstrap.. After all, the reason you want to avoid php or any other server side language is because you don’t know how to use it, right ? Currently any server of the most basic, has support php, mysql, etc.. Bootstrap comes with a sample, a very simple php script for sending email on the contact form.. That form is not enough for you?"

  • 5

    That did not cause.

  • Danielli, welcome! Your question is unclear. You can explain better what you are looking for?

1 answer

1

Unless we’re talking about a Backend written in NodeJS, cannot send a E-mail using only JavaScript.

If you don’t have a Backend for your page, perhaps the simplest solution is to use some API existing, such as the EmailJS or the Gmail API

If you prefer you can write your own Microservice in the language of your preference, follow some recommendations.:

For which you want one of the above choices, there are thousands of guides on the internet of how to send an Email.

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

Browser other questions tagged

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