Project

contactus

0.0
No commit activity in last 3 years
No release in over 3 years
Contactus is a simple Ruby on Rails gem that generate a contact form for your site.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.1.0
~> 2.14.0
~> 1.3.8

Runtime

~> 1.5.0
~> 4.0.0
~> 0.7.4
~> 3.0.0
 Project Readme

Contactus¶ ↑

Contactus is a simple Ruby on Rails gem that generate a contact form for your site.

Note: This game is still in development, thanks your patience :P

How to use this gem¶ ↑

Add the gem to your Gemfile

gem 'contactus'

Install the gem:

$ bundler
$ bundle exec rake contactus:install

Go to your site

$ http://0.0.0.0:3000/contact

Customization¶ ↑

There will be a initializer file called contactus.rb, where you can configure the next config variables:

# Configure the e-mail address which should receive the email
config.mailer_to = "contact@example.com"

# Configure the e-mail address which should receive the cc email
#config.mailer_cc = "contact@example.com"

# Configure multiple e-mail address which should receive the bcc email
#config.mailer_bcc = ["contact1@example.com", "contact2@example.com", "contact3@example.com"]

# Configure extra fields
#config.extra_fields = %w(city phone)

# Configure extra required fields
#config.required_extra_fields = %w(country address)

# From address email, if this variable is not used the contact email will be used as default
#config.mailer_from  = 'from@example.com'