Skip to content

klcodanr/contact-handler

Repository files navigation

License

Lambda Contact Handler

A simple Lambda function to handle contact form requests, sending an Email via SES.

Configuration

This Function requires the following environment variables:

  • ALLOWED_FIELDS - comma-separated list of allowed fields to be sent in the email
  • REQUIRED_FIELDS - comma-separates list of required fields
  • HONEYPOT - a field which if supplied with a truthy value will result in the form submission being accepted but no email sent
  • MAIL_TO - the email recipent
  • MAIL_FROM - the email sender
  • MAIL_SUBJECT - the subject of the email to be sent

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors