アクティブ化して technoweenie から restful_authentcation をインストールしたので、生成された UserMailer < ActionMailer::Base.
ただし、手順には、Google SMTP で動作するように設定する方法は含まれていません。
私は、environments/development.rb に SMTP 設定が必要であると推測していますが、Google (Google アプリ経由) がすべて TLS であることを考えると、まだわかりません。
restful_authentication を使用してアクティベーションをセットアップした人はいますか?
私は現在、environments.rbに次のものを入れています:
ActionMailer::Base.smtp_settings = {
:enable_starttls_auto => true,
:address => "smtp.gmail.com",
:port => "587",
:domain => "mydomain.com",
:authentication => :plain,
:user_name => "xxx@mydomain.com",
:password => "mypassword"
}
ありがとう!!