Skip to content

peterjjohnson/sparkpost_lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Lambda + SparkPost Contact Form Demo

This is a simple AWS Lambda function that will accept an email and message from a POST request and then send an e-mail via SparkPost.

Note: The SparkPost API key as well as the sender/recipient e-mail addresses are expected to be stored in settings.js

Example settings.js file

var settings = function() {
    var self = this;

    self.SparkPostAPIKey = 'YOUR SPARKPOST API KEY';
    self.Sender          = 'no-reply@YOUR_DOMAIN.com';
    self.Recipient       = 'YOU@YOUR_DOMAIN.com';
};

module.exports = settings;

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published