An open API service indexing awesome lists of open source software.

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.

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.