Sending Email from the Create-React-App Contact Form

I am working on a website that I used to create a create-response-application . I need to make a contact page where the entered information will be sent to the specified email address.

After doing some research, I found that this would require me to set up some backend. I am very unfamiliar with internal programming. I know about nodejs and to some extent I can configure the base server using it, but I have no idea how to connect it to the responsive site, or I even need a node server (just mentioned this because I found Nodemailer ).

What good internal setting should I use? All I need to use is to send the input field value to a specific email.

I am sorry that this is such a Nubian / vague question, I'm just looking for a direction from which to start exploring and studying. I do not expect a detailed answer about the purpose and exact operations of the internal server, just some useful guide or start training somewhere!

Any help is much appreciated!

+6
source share
2 answers

I can imagine two options for connecting to a server for sending email.

, , . !

+7

-, create--. Nodemailer : React

, ( - Nodemailer), , , package.json .

, . , .

0

Source: https://habr.com/ru/post/1683854/


All Articles