EmailConfiguration » History » Version 1

Version 1/55 - Next » - Current version
Cyber Sprocket, 2009-05-18 22:11


Email Configuration

Configuration Directives

This page is a work in progress, the following configuration directives is only a partial list.

authentication

The type of authentication method expected by your service provider.

Valid settings:
  • :login
  • :none

delivery_method

The mail transport method to be used.

Valid settings:
  • :smtp

Example email.yml Configurations

Simple Login Authentication (default settings)

# Outgoing email settings

production:
  delivery_method: :smtp
  smtp_settings:
    address: smtp.example.net
    port: 25
    domain: example.net
    authentication: :login
    user_name: redmine@example.net
    password: redmine

development:
  delivery_method: :smtp
  smtp_settings:
    address: 127.0.0.1
    port: 25
    domain: example.net
    authentication: :login
    user_name: redmine@example.net
    password: redmine

No Authentication

Example for an SMTP service provider with no authentication. Note the colon before none.

production:
  delivery_method: :smtp
  smtp_settings:
    address: smtp.knology.net
    port: 25
    domain: cybersprocket.com
    authentication: :none