Skip to content

nimeshkverma/aws-lambda-node-mailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-lambda-node-mailer

alt CoverPic

AWS-Lambda-Node-Mailer contains NodeJs scripts to send Emails via AWS Lambda services using Nodemailer package. The scripts are provided for both SMTP and SES.

Prerequisites

Usage

  1. Clone the repository move into any of the two directory smtp_emailer or ses_emailer according to your need, then execute below:

    npm install

  2. Provide the neccesary credentials in config.js

  3. Provide the template for the email, for eg presently the template being used is template_type_1.ejs, don't forget to provide the path of the template in the config.js

  4. Provide the schema for the payload, for eg presently the payload being used is template_type_1.json, don't forget to provide the path of the template in the config.js

  5. Once above is done, provide correct values in place of dummy values in test.js, then execute below:

    node test.js

How to Contribute

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull RequestThe scripts in this

Releases

No releases published

Packages

No packages published