DocPad plugin to create, send and customize a contact form.
npm install docpad-plugin-contactify
npm install --save docpad-plugin-contactify
`
Or add it to your package.json file
Usage (more coming soon)
$3
Configure the path to be intercepted on your server and the email details for sending out form data in the DocPad
configuration file:
`coffeescript
plugins:
contactify:
path: '/contact-form'
transport: {
service: 'Gmail',
auth: {
user: 'hello@myamazingstartup.com',
pass: 'password'
}
}
redirect: '/'
to: 'me@site.name'
``