Contact module for Express Lane.
JavaScript
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
README.md
index.js
package.json
pages.js

README.md

Contact

Simple email contact form for expresslane implemented with express + forms + node-email .

Installation

Add the following line to your ndistro file and rebuild:

module developmentseed contact

Note: You MUST define contact in settings.js with at least a toAddress: element (The address at which contact form emails are received.).

Requirements

Go

  • Contact form at /contact

reCAPTCHA

Optionally you can enable a reCAPTCHA field to the contact form. To enable add node-recaptcha to your project and add a reCaptcha element to contact in settings.js like so.

contact: {
      toAddress: 'email@domain.com',
      reCaptcha: {
          publicKey: '6LeN9L4SAAAAAOa-DmhOqGsdLQxTkUYFHAlyDKp6',
          privateKey: '6LeN9L4SAAAAAP1tdRiHki0wdz_5URa-_AUbFPOJ'
      }
  }