Mailer now working in production added scope for pending users

This commit is contained in:
saurabhbhatia committed 2013-11-29 12:03:16 +08:00
1 parent 9260c3d2b7
commit ea6909a6b0
3 files changed
+9 -6

No files matched your search

+6 -3
View File
@@ -1,5 +1,6 @@
require 'tlsmail'
Orbit::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# Settings specified here will take precednece over those in config/application.rb
# Code is not reloaded between requests
config.cache_classes = false
@@ -60,13 +61,15 @@ Orbit::Application.configure do
# Send deprecation notices to registered listeners
config.active_support.deprecation = :notify
Net::SMTP.enable_tls(OpenSSL::SSL::VERIFY_NONE)
config.action_mailer.delivery_method = :smtp
config.action_mailer.perform_deliveries = true
config.action_mailer.raise_delivery_errors = false
config.action_mailer.smtp_settings = {
:enable_starttls_auto => true,
:address => "http://smtp.gmail.com",
:port => '587',
:domain => "http://smtp.gmail.com",
:domain => "new.tp.rulingcom.com",
:authentication => "plain",
:user_name => "redmine@rulingcom.com",
:password => "rulingredmine"