メール送信テスト
rails 使ってちょっとしたもの作ってますが、
メール認証のテストでmailtrap.io (https://mailtrap.io/)が結構よいです。
メールサーバ立てるのもめんといし、
いちいちログから拾って確認したりしていたんですが、
これ登録して設定ファイルをmailtrap.ioに
記載されているものをコピペするだけで使えます。
In config/environments/*.rb specify ActionMailer defaults for your development or staging servers:
config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :user_name => '************', :password => '************', :address => 'mailtrap.io', :domain => 'mailtrap.io', :port => '2525', :authentication => :cram_md5, :enable_starttls_auto => true }
すばらしい。