2.0.11 • Published 11 years ago

docpad-plugin-contactify v2.0.11

Weekly downloads
38
License
-
Repository
github
Last release
11 years ago

Contactify Plugin for DocPad

A fully customizable DocPad contact form plugin.

Install

npm install --save docpad-plugin-contactify

Or add it to your package.json file

Usage (more coming soon)

Setup

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

	plugins:
		contactify:
			path: '/contact-form'
			transport: {
				service: 'Gmail',
				auth: {
					user: 'hello@myamazingstartup.com',
					pass: 'password'
				}
			}
			redirect: '/'
			to: 'me@site.name'

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

License

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

2.0.11

11 years ago

2.0.10

11 years ago

2.0.9

11 years ago

2.0.8

11 years ago

2.0.7

11 years ago

2.0.6

11 years ago

2.0.5

11 years ago

2.0.4

11 years ago

2.0.3

11 years ago

2.0.2

11 years ago

2.0.1

11 years ago

2.0.0

11 years ago