'Is it possible to send emails automatically to users from front-end React JS?
Is there a method that allows me to automatically send an emails to users when they click a button? I have the email-address and the data that needs to be sent available in the front-end of our React application.
For now in research mode...
Solution 1:[1]
Have a look at EmailJS
You have to create a service. They have an option for personal mail service as well. I am sharing two links for your reference as well.
Solution 2:[2]
You cant not send email directly from client side however you can try emailjs or NodeMailer. This will allow you to send mail from javascript application without any server.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Wahab Shah |
| Solution 2 | MORÈ |
