Technical Documentation
Return to Main Documentation
ENGLISH - version 2.3
ENGLISH - version 2.3
  • Introduction
  • Getting started
    • Create your fork
    • Configure your fork
    • Keep your fork updated
    • Communication
  • Installation
    • Local installation
      • Prerequisites
      • Ubuntu Linux
      • Debian Linux
      • macOS
      • Windows
      • Vagrant
      • Docker
    • Production and staging servers
      • Installer
      • Create a deploy user
      • Generating SSH Key
      • Manual installation (not recommended)
      • Digital Ocean
      • Heroku
      • Mail server configuration
    • Basic configuration
    • User documentation and guides
  • Customization
    • Introduction
    • Translations and texts
    • Images
    • Styles with CSS
    • JavaScript
    • Models
    • Controllers
    • Views and HTML
    • Components
    • Other Ruby classes (GraphQL, lib, mailers, builders)
    • Gems
    • Application configuration
    • Routes
    • Tests
  • Technical Features
    • OAuth
    • GraphQL
    • Debates and proposals recommendations
    • Configure Census Connection
    • Local Census
    • Multitenancy
    • User content translations
  • Open Source project
    • Code of conduct
    • Contributing
    • Coding conventions
    • Open source forks and modifications
    • License
Powered by GitBook
On this page
  • Get an account from any email provider
  • Email configuration in Consul Democracy
  1. Installation
  2. Production and staging servers

Mail server configuration

This is an example of how to integrate a mailing service with Consul Democracy.

Get an account from any email provider

To configure email in Consul Democracy, you will need:

  • The smtp_address, which is the address of your email provider's SMTP server (e.g., smtp.yourdomain.com).

  • The domain, which is the domain name of your application.

  • The user_name and password, which are the credentials provided by your email provider to authenticate with the SMTP server.

Email configuration in Consul Democracy

  1. Go to the config/secrets.yml file.

  2. On this file, change these lines under the section staging, preproduction or production, depending on your setup:

  mailer_delivery_method: :smtp
  smtp_settings:
     :address: "<smtp address>"
     :port: 587
     :domain: "<domain>"
     :user_name: "<user_name>"
     :password: "<password>"
     :authentication: "plain"
     :enable_starttls_auto: true
  1. Fill <smtp address>, <domain>, <user_name> and <password> with your information.

  2. Save the file and restart your Consul Democracy application.

PreviousHerokuNextBasic configuration

Last updated 3 months ago