DocPad plugin to create, send and customize a contact form.

Contactify Plugin for DocPad

A fully customizable DocPad contact form plugin.

npm install --save docpad-plugin-contactify

Or add it to your package.json file

Configure the path to be intercepted on your server and the email details for sending out form data in the DocPad configuration file:

            path: '/contact-form'
            transport: {
                service: 'Gmail',
                auth: {
                    user: '',
                    pass: 'password'
            redirect: '/'
            to: ''

path: should match the POST action on your site's form. transport: configures an SMTP transport instance using nodemailer redirect: options that will be overwritten by the hidden input called redirect in your form (if it exists) to: may be a list of destination email addresses for sending form submissions

Licensed under the incredibly permissive MIT License
Copyright © 2013+ thaume