Skip to content
This repository has been archived by the owner on Aug 17, 2022. It is now read-only.

vkareh/collagen-contact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Contact form for Collagen.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published