README

Path: vendor/plugins/yaml_mail_config/README
Last Update: Thu May 31 11:07:10 -0500 2007

YAML Mail Config

YAML Mail Config moves ActionMailer configuration to a YAML file in your config/ folder, just like your database definitions.

Install with:

  script/plugin install svn://rubyforge.org/var/svn/slantwise/yaml_mail_config/trunk yaml_mail_config

To use, simply create a config/email.yml file that follows the sample pattern below. (A sample email.yml template file is found in the templates/ directory of this plugin.)

Sample:

  development:
    server: mail.domain.com
    port: 25
    domain: domain.com
    authentication: login
    username: email_account_login
    password: email_account_password
  production:
    server: mail.domain.com
    port: 465
    domain: domain.com
    authentication: login
    username: email_account_login
    password: email_account_password
    tls: true

Thanks to Sebastien Grosjean (seb.box.re/) for the idea and the initial codebase for this plugin!

[Validate]