https://github.com/mian-ali/sendemails_using_nodemailer
The project implements a form that emails its contents to the users predefined email address
https://github.com/mian-ali/sendemails_using_nodemailer
email expressjs nodejs nodemailer react-express reactjs send-email sendmail
Last synced: 4 months ago
JSON representation
The project implements a form that emails its contents to the users predefined email address
- Host: GitHub
- URL: https://github.com/mian-ali/sendemails_using_nodemailer
- Owner: mian-ali
- License: mit
- Created: 2022-07-19T19:36:16.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-21T18:50:42.000Z (almost 4 years ago)
- Last Synced: 2025-06-29T09:40:52.771Z (11 months ago)
- Topics: email, expressjs, nodejs, nodemailer, react-express, reactjs, send-email, sendmail
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React-Express-Nodemailer
The project implements a react-express application that enables a user to send form data as an email to a predefined email address.The mailing functionality is acheived using nodemailer a library which enables us to send emails from our application.
## Concepts
**1.React form**
**2.Express Server**
**3.Email functionality using Nodemailer**
## Getting Started
There are two methods for getting started with this repo.
**if you are familar with git:**
Checkout this repo,install server and client dependancies dependencies, then start the gulp process with the following:
as follows
```
cd sendEmails_Using_Nodemailer/client
npm install
cd sendEmails_Using_Nodemailer
npm install
npm run dev
```
**if you are not familar with git:**
Click here then download the .zip file. Extract the contents of the zip file, then open your terminal,
change to the project directory, and:
```
cd sendEmails_Using_Nodemailer/client
npm install
cd sendEmails_Using_Nodemailer
npm install
npm run dev
```
## Testing the app
You need to enable the app use your email account to email the contents of the form. Here in our app the sender's account and receiver's email id's will be the same. You need to configure your email account by setting "ALLOW LESS SECURE APPS" to "ON".If you are using a Gmail account like me you can navigate to the link https://myaccount.google.com/lesssecureapps and do so. and do so.

## Third-Party Disable
Before going ahead you must disable Gmail Third-Party security otherwise You request will not send from your MERN App to Gmail

## Authors
- Ali Ahmad
## License
This project is licensed under the MIT License - see the LICENSE.md file for details.