https://github.com/xoxoharsh/email_messaging_template
This Node.js script sends emails to multiple users using nodemailer and nodemailer-express-handlebars. It generates content from HTML templates for easy customization.
https://github.com/xoxoharsh/email_messaging_template
Last synced: 3 months ago
JSON representation
This Node.js script sends emails to multiple users using nodemailer and nodemailer-express-handlebars. It generates content from HTML templates for easy customization.
- Host: GitHub
- URL: https://github.com/xoxoharsh/email_messaging_template
- Owner: XoXoHarsh
- Created: 2024-04-29T14:05:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-29T14:14:58.000Z (about 1 year ago)
- Last Synced: 2025-01-24T22:15:55.759Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Email Messaging Template
## Description
This project is a Node.js script designed to send emails to multiple users using the nodemailer and nodemailer-express-handlebars packages. It leverages the power of Node.js to efficiently deliver emails to recipients. The content of the emails is generated from HTML templates stored in the "template" folder, allowing for easy customization and personalization.
## How to use this project
1. Clone this repo
2. Install all the dependencies using `npm install`
3. Put your own gmail and its app password for nodemailer to work in `EMAIL_ID` and `APP_PASSWORD`
4. Write all the email ids inside the user.js to whom you want to send the mail to.
5. Create your own html template inside the html folder in email.handlebars file.
6. Run the script using `npm start` or `npm run dev`## Contributions
Any form of contribution is welcomed and deeply valued.