mail設定/Gmail連携

「mail設定/Gmail連携」の編集履歴(バックアップ)一覧はこちら

mail設定/Gmail連携」(2011/06/11 (土) 02:03:09) の最新版変更点

追加された行は緑色になります。

削除された行は赤色になります。

mailのセッティング 重要; http://guides.rubyonrails.org/action_mailer_basics.html Gmailの設定: config.action_mailer.delivery_method = :smtp 11/04/21 23:31 config.action_mailer.smtp_settings = { :address => "smtp.gmail.com", :port => 587, :domain => 'domain name', :user_name => 'username', :password => 'password', :authentication => 'plain', :enable_starttls_auto => true, } 参考: http://d.hatena.ne.jp/shunsuk/20110110/1294657636 ActionMailer: http://d.hatena.ne.jp/willnet/20100429/1272513819 console上でのテスト: RegisterMailer.test_mail("").deliver mailer.rbの中身:  class RegisterMailer < ActionMailer::Base default :from => "bando.rui@gmail.com" def register_mail(user) mail(:to => "bando.rui@gmail.com", :subject => "Welcome to My Info Site") end end

表示オプション

横に並べて表示:
変化行の前後のみ表示: