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:
1 parent
5d0b53544c
commit
fc42dd2cef
37 files changed
+89
-32
No files matched your search
+4
-20
@@ -49,25 +49,9 @@ Rails::Initializer.run do |config|
|
||||
# Use Active Record's schema dumper instead of SQL when creating the test database
|
||||
# (enables use of different database adapters for development and test environments)
|
||||
# config.active_record.schema_format = :ruby
|
||||
|
||||
# See Rails::Configuration for more options
|
||||
|
||||
# SMTP server configuration
|
||||
config.action_mailer.smtp_settings = {
|
||||
:address => "127.0.0.1",
|
||||
:port => 25,
|
||||
:domain => "somenet.foo",
|
||||
:authentication => :login,
|
||||
:user_name => "redmine@somenet.foo",
|
||||
:password => "redmine",
|
||||
}
|
||||
|
||||
config.action_mailer.perform_deliveries = true
|
||||
|
||||
# Tell ActionMailer not to deliver emails to the real world.
|
||||
# The :test delivery method accumulates sent emails in the
|
||||
# ActionMailer::Base.deliveries array.
|
||||
#config.action_mailer.delivery_method = :test
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
|
||||
# Deliveries are disabled by default. Do NOT modify this section.
|
||||
# Define your email configuration in email.yml instead.
|
||||
# It will automatically turn deliveries on
|
||||
config.action_mailer.perform_deliveries = false
|
||||
end
|
||||
Reference in new issue
Block a user