Browse Source

config mail

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
9ee3e21cbf
  1. 10
      config/environments/production.rb
  2. 2
      config/initializers/devise.rb

10
config/environments/production.rb

@ -61,12 +61,8 @@ Entrydns::Application.configure do
config.action_mailer.default_url_options = { :host => 'entrydns.net' }
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => "smtp.gmail.com",
:port => 587,
:domain => 'entrydns.net',
:user_name => 'simpledns.office',
:password => 'jablonskis',
:authentication => 'plain',
:enable_starttls_auto => true
:address => "127.0.0.1",
:port => 25,
:domain => 'entrydns.net'
}
end

2
config/initializers/devise.rb

@ -4,7 +4,7 @@ Devise.setup do |config|
# ==> Mailer Configuration
# Configure the e-mail address which will be shown in Devise::Mailer,
# note that it will be overwritten if you use your own mailer class with default "from" parameter.
config.mailer_sender = "office@entrydns.net"
config.mailer_sender = "support@entrydns.net"
# Configure the class responsible to send e-mails.
# config.mailer = "Devise::Mailer"

Loading…
Cancel
Save