Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/cowholio4/lambda-contact-form

Simple aws lambda function to support a website contact form
https://github.com/cowholio4/lambda-contact-form

amazon-ses aws-lambda serverless

Last synced: 3 months ago
JSON representation

Simple aws lambda function to support a website contact form

Awesome Lists containing this project

README

        

# Lambda-Contact

A simple aws-lambda function that allows you to have a contact form on your static website. (hosted on S3/Cloudfront)
Currently, emails are sent via SES.

I made this aws-lambda function in August 2015 for a startup I joined and in 2017 I modified it to use serverless.

# Instructions

1. Install [serverless](https://serverless.com/)
2. Run `npm install`
3. Change the config.json file to match your 'from' to 'to'.
4. Run `serverless deploy`
5. Copy the URL from the output of the previous command and use it in your contact form.

## Exmaple Form
```





Send

```

# TODO
1. Add more robust spam protection