Skip to content

johnhampton/yaml_mail_config

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

= 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!

About

git svn clone - configure email.yml like database.yml

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%