0.1.0 • Published 12 years ago

collagen-contact v0.1.0

Weekly downloads
2
License
-
Repository
github
Last release
12 years ago

Collagen Contact

This module provides a contact form in a Collagen.js website.

The contact form can be found by navigating to /contact or by clicking on the "Contact" link in the top navigation bar.

Installation

To install, run npm install collagen-contact and add require('collagen-contact') to your index.js file.

Configuration

Collagen Contact will use the Sendmail messaging transport by default. To override, add the following information to your collagen.json file:

{
    "mailer": {
        "type": "SMTP",
        "service": "Gmail",
        "auth": {
            "user": "gmail.user@gmail.com",
            "pass": "gmailpass"
        }
    }
}

Have a look at the nodemailer documentation for all the options (scroll down to "Possible transport methods").

All contact messages will be sent to the email attribute configured in your collagen.json file.

0.1.0

12 years ago