Actions
Feature #1412
closed
SMTP server config should be moved from environment.rb
Feature #1412:
SMTP server config should be moved from environment.rb
Resolution:
Fixed
Description
Items that will be customised regularly on a per-installation basis should not be in version-controlled code. This makes upgrading harder or even working with an svn checkout of a branch (e.g. the 0.7-stable branch).
In the first case, moving to a new installation will break loose the SMTP settings as you'll get a new environment.rb and in the second, you'll always see local modifications etc.
The config settings for SMTP server should either be in the database (configured through the e-mail administration page) or in a separate config file that isn't versioned (similar to databases.yml).
Actions