Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
git svn clone - configure email.yml like database.yml
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
templates
LICENSE
README
Rakefile
init.rb
install.rb

README

= YAML Mail Config

YAML Mail Config moves ActionMailer configuration to a YAML file in your 
<tt>config/</tt> 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 <tt>config/email.yml</tt> 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 (http://seb.box.re/) for the idea and the initial
codebase for this plugin!
Something went wrong with that request. Please try again.