Skip to content

Integrating that with a contact form. #1

@rarenet1976

Description

@rarenet1976

Hi:

I saw your code and decided it would be perfect to integrate with the AWS function to send contact form data to an email.

https://aws.amazon.com/blogs/architecture/create-dynamic-contact-forms-for-s3-static-websites-using-aws-lambda-amazon-api-gateway-and-amazon-ses/

I have this set and tried to integrate yours. I was wondering if you already had something like this set up where before the function to send mail, you can help me understand the code that would need to be used to get the site key from the static form and then from S3 to verify it.

The attached index.js file work fine in my current lambda to get the fields from the web site, but to add the recaptha to the mix is the issue. I have the dependencies already.

Any help would be appreciated.
index.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions