Email delivery configuration moved to an unversioned YAML file (config/email.yml, see the sample file) (#1412).

Email delivery is disabled. It's automatically turned on when configuration is found.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1625 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-07-04 18:55:45 +00:00
parent 5d0b53544c
commit fc42dd2cef
37 changed files with 89 additions and 32 deletions
+5 -5
View File
@@ -53,10 +53,10 @@ Optional:
trackers, statuses, workflow) and adjust application settings
== SMTP server Configuration
In config/environment.rb, you can set parameters for your SMTP server:
config.action_mailer.smtp_settings: SMTP server configuration
config.action_mailer.perform_deliveries: set to false to disable mail delivering
== Email delivery Configuration
Copy config/email.yml.example to config/email.yml and edit this file
to adjust your SMTP settings.
Don't forget to restart the application after any change to this file.
Please do not enter your SMTP settings in environment.rb.
+3 -5
View File
@@ -10,15 +10,13 @@ http://www.redmine.org/
1. Uncompress the program archive in a new directory
3. Copy your database settings (RAILS_ROOT/config/database.yml)
and SMTP settings (RAILS_ROOT/config/email.yml)
into the new config directory
4. Enter your SMTP settings in config/environment.rb
Do not replace this file with the old one
5. Migrate your database (please make a backup before doing this):
4. Migrate your database (please make a backup before doing this):
rake db:migrate RAILS_ENV="production"
6. Copy the RAILS_ROOT/files directory content into your new installation
5. Copy the RAILS_ROOT/files directory content into your new installation
This directory contains all the attached files