From 9ee3e21cbfcbf9eac865f6bb0c0a5b46e49ae54e Mon Sep 17 00:00:00 2001 From: Nicolae Claudius Date: Wed, 12 Oct 2011 12:49:25 -0700 Subject: [PATCH] config mail --- config/environments/production.rb | 10 +++------- config/initializers/devise.rb | 2 +- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index eabd51b..a4aba9d 100644 --- a/config/environments/production.rb +++ b/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 diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index cd36ec6..7d2b8a0 100644 --- a/config/initializers/devise.rb +++ b/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"