deviseでログイン機能を実装しました。
パスワード再設定のメールの送信方法がわかりません。
ruby
1#config/environments/development.rb 2config.action_mailer.default_url_options = { host: 'localhost', port: 3000 } 3 4config.action_mailer.raise_delivery_errors = true 5config.action_mailer.delivery_method = :smtp 6config.action_mailer.smtp_settings = { 7 :address => 'smtp.gmail.com', 8 :port => 587, 9 :user_name => ENV['GMAIL_ADR'], 10 :password => ENV['GMAIL_PASS'], 11 :authentication => :plain, 12 :enable_starttls_auto => true 13 }
何卒よろしくお願いいたします
何をみて上記の設定をしたのでしょうか?
また、エラーが出たあと、どんなことを試してみたのかを質問文を編集して追記してください。
あなたの回答
tips
プレビュー