config.action_mailer.default_url_options = { :host => 'localhost:3000' } config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :enable_starttls_auto => true, :address => "smtp.gmail.com", :port => 587, :domain => "gmail.com", :authentication => :login, :user_name => "test@example.com", :password => "Test123", }
Tuesday, 7 February 2012
Emails from Devise on localhost
Need to get your Devise email notifications working in your development environment on localhost? Just drop this into your development.rb config file:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Comments are moderated, so you'll have to wait a little bit before they appear!