Skip to content

A simple NodeJS aplication that helps sending emails for events. Uses CSV files for target users.

License

Notifications You must be signed in to change notification settings

AhsanAyaz/node-emails-from-csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-emails-from-csv

This is a sample project demonstrating the usage of nodemailer, handlebars and node-csv packages to parse CSV files and use the data for sending emails. This is suitable for sending event registration confirmation emails e.t.c. We use it for NodeSchool Karachi already and I've put a sample in this repo.

How to use

  • Put your source file (CSV) under the 'files' folder
  • Put your SMTP credentials in the helpers/mailer.js
  • Add your template or use existing from the templates folder
  • Modify the index.js based on your event/email to send. It contains variables that would be replaced in the template placeholders.
  • Feel free to ask questions and raise issues.

About

A simple NodeJS aplication that helps sending emails for events. Uses CSV files for target users.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published