Can't send mail with gmail stmp server (in discourse)
问题 I'm trying to setup discourse, which is a rails3 webapp, but have some problems configuring smtp with gmail smtp server. I have registered a new gmail account yesterday, and I can logged in browser and email-client software. Then I configure discourse, in the file config/environments/production.rb : config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :address => "smtp.gmail.com", :port => "587", :user_name => "smtp4shuzu@gmail.com", :password => "12345678",