V
V
Vakulka952020-09-24 12:14:36
Node.js
Vakulka95, 2020-09-24 12:14:36

I'm trying to send a message to the mail from an application written in React js and Node, an error 500 occurs. What is the error ??

Tell me please, I'm trying to write an application in React Js, in which when submitting the form, the letter went to the mail
Please tell me, what's the error ??

This is the Form.js component
5f6c633d318fd038636609.png

And this is the server side
5f6c634f1453c796727604.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hzzzzl, 2020-09-24
@hzzzzl

5f6c64b883af6614842186.png
what will he write here ?
for gmail, you still need to allow the left applications to use the account
https://nodemailer.com/usage/using-gmail/
somewhere in the settings there was allow 3rd party apps or something like that, I don’t remember

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question