I'm testing Devise authentication for Rails on my local host and want to get it to send emails for password retrieval (i.e. the "forgot your password" link). Password retrieval is built into Devise, it's just a matter of configuring it properly to get the email to send.
In initializers/devise.rb, I put
config.mailer_sender = "i...@mydomain.com"
but when I tried to test the "forgot your password" link on Devise authentication for rails I got the error message below. If I do need to add other information for the email to actually send, what do I need to add and where??
In users model, these are the modules that are being used devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable
--- error message --- Errno::ECONNREFUSED in Devise::PasswordsController#create Connection refused - connect(2) Rails.root: /Users/myname/Sites/rails3d Application Trace | Framework Trace | Full Trace Request Parameters: {"utf8"=>"✓", "authenticity_token"=>"8oO5vXqO4esl3ztn5yE7OkVxZe+Ju94jj76rbKR225I=", "user"=>{"email"=>"myemail...@gmail.com"}, "commit"=>"Send me reset password instructions"} Show session dump Show env dump Response Headers